Home
last modified time | relevance | path

Searched refs:folder_name (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/chrome/browser/importer/
Dprofile_writer.cc39 const base::string16& folder_name) { in GenerateUniqueFolderName() argument
50 if (existing_folder_names.find(folder_name) == existing_folder_names.end()) in GenerateUniqueFolderName()
51 return folder_name; in GenerateUniqueFolderName()
55 base::string16 name = folder_name + ASCIIToUTF16(" (") + in GenerateUniqueFolderName()
62 return folder_name; in GenerateUniqueFolderName()
176 for (std::vector<base::string16>::const_iterator folder_name = in AddBookmarks() local
178 folder_name != bookmark->path.end(); ++folder_name) { in AddBookmarks()
180 folder_name == bookmark->path.begin()) { in AddBookmarks()
189 if (node->is_folder() && node->GetTitle() == *folder_name) { in AddBookmarks()
195 child = model->AddFolder(parent, parent->child_count(), *folder_name); in AddBookmarks()
/external/chromium/chrome/browser/importer/
Dprofile_writer.cc103 const string16& folder_name = (!import_to_bookmark_bar && in AddBookmarkEntry() local
110 node->GetTitle() == folder_name) { in AddBookmarkEntry()
116 child = model->AddFolder(parent, parent->child_count(), folder_name); in AddBookmarkEntry()
292 const string16& folder_name) { in GenerateUniqueFolderName() argument
303 if (other_folder_names.find(folder_name) == other_folder_names.end()) in GenerateUniqueFolderName()
304 return folder_name; // Name is unique, use it. in GenerateUniqueFolderName()
308 string16 name = folder_name + UTF8ToUTF16(base::StringPrintf(" (%d)", i)); in GenerateUniqueFolderName()
313 return folder_name; in GenerateUniqueFolderName()
337 const string16& folder_name = in DoesBookmarkExist() local
340 if (NULL == parent || *path_it != folder_name) in DoesBookmarkExist()
Dfirefox_importer_unittest.cc84 string16 folder_name; in TEST() local
90 charset, &folder_name, &is_toolbar_folder, &folder_add_date); in TEST()
92 EXPECT_EQ(ASCIIToUTF16("< > & \" ' \\ /"), folder_name); in TEST()
99 charset, &folder_name, &is_toolbar_folder, &folder_add_date); in TEST()
101 EXPECT_EQ(ASCIIToUTF16(""), folder_name); in TEST()
Dprofile_writer.h127 const string16& folder_name);
Dfirefox2_importer.h91 string16* folder_name,
Dfirefox2_importer.cc421 string16* folder_name, in ParseFolderNameFromLine() argument
439 base::OnStringConversionError::SKIP, folder_name); in ParseFolderNameFromLine()
440 HTMLUnescape(folder_name); in ParseFolderNameFromLine()
/external/chromium_org/chrome/browser/password_manager/
Dnative_backend_kwallet_x_unittest.cc355 std::string folder_name; in KWalletMethodCall() local
358 EXPECT_TRUE(reader.PopString(&folder_name)); in KWalletMethodCall()
364 writer.AppendBool(wallet_.hasFolder(folder_name)); in KWalletMethodCall()
366 writer.AppendBool(wallet_.createFolder(folder_name)); in KWalletMethodCall()
371 std::string folder_name; in KWalletMethodCall() local
375 EXPECT_TRUE(reader.PopString(&folder_name)); in KWalletMethodCall()
382 writer.AppendBool(wallet_.hasEntry(folder_name, key)); in KWalletMethodCall()
384 writer.AppendInt32(wallet_.removeEntry(folder_name, key) ? 0 : 1); in KWalletMethodCall()
388 std::string folder_name; in KWalletMethodCall() local
391 EXPECT_TRUE(reader.PopString(&folder_name)); in KWalletMethodCall()
[all …]
/external/chromium_org/chrome/utility/importer/
Dbookmark_html_reader_unittest.cc34 base::string16 folder_name; in TEST() local
40 charset, &folder_name, &is_toolbar_folder, &folder_add_date); in TEST()
42 EXPECT_EQ(ASCIIToUTF16("< > & \" ' \\ /"), folder_name); in TEST()
49 charset, &folder_name, &is_toolbar_folder, &folder_add_date); in TEST()
51 EXPECT_EQ(base::string16(), folder_name); in TEST()
Dbookmark_html_reader.cc261 base::string16* folder_name, in ParseFolderNameFromLine() argument
279 base::OnStringConversionError::SKIP, folder_name); in ParseFolderNameFromLine()
280 *folder_name = net::UnescapeForHTML(*folder_name); in ParseFolderNameFromLine()
Dbookmark_html_reader.h66 base::string16* folder_name,
/external/chromium_org/tools/gyp/pylib/gyp/
DMSVSNew.py252 folder_name = relative_path.replace('/', '\\') or '.'
256 folder_name, # Folder name (again)
/external/chromium_org/third_party/libjingle/source/talk/base/
Dunittest_main.cc55 while (path.folder_name() != talk_folder_name && !path.empty()) { in GetTalkDirectory()
Dpathutils.h95 std::string folder_name() const;
Dpathutils.cc160 std::string Pathname::folder_name() const { in folder_name() function in talk_base::Pathname
/external/chromium/third_party/libjingle/source/talk/base/
Dpathutils.h95 std::string folder_name() const;
Dpathutils.cc160 std::string Pathname::folder_name() const { in folder_name() function in talk_base::Pathname
/external/chromium_org/chrome/common/extensions/api/
Ddeveloper_private.idl179 static void exportSyncfsFolderToLocalfs(DOMString folder_name,
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_unittest.cc1021 std::string folder_name = "folder"; in TEST_F() local
1025 MutableEntry folder(&trans, CREATE, trans.root_id(), folder_name); in TEST_F()
1030 EXPECT_EQ(0, CountEntriesWithName(&trans, trans.root_id(), folder_name)); in TEST_F()
1037 EXPECT_EQ(0, CountEntriesWithName(&trans, trans.root_id(), folder_name)); in TEST_F()
/external/chromium_org/sync/syncable/
Dsyncable_unittest.cc1220 std::string folder_name = "folder"; in TEST_F() local
1224 MutableEntry folder(&trans, CREATE, BOOKMARKS, trans.root_id(), folder_name); in TEST_F()
1229 EXPECT_EQ(0, CountEntriesWithName(&trans, trans.root_id(), folder_name)); in TEST_F()
1236 EXPECT_EQ(0, CountEntriesWithName(&trans, trans.root_id(), folder_name)); in TEST_F()
/external/chromium_org/chrome/browser/sync/test/integration/
Dtwo_client_bookmarks_sync_test.cc1728 std::wstring folder_name = IndexedSubfolderName(i); in IN_PROC_BROWSER_TEST_F() local
1729 const BookmarkNode* subfolder = AddFolder(0, folderC[0], i, folder_name); in IN_PROC_BROWSER_TEST_F()