/external/chromium_org/chrome/browser/undo/ |
D | bookmark_undo_service_test.cc | 321 const BookmarkNode* new_folder; in TEST_F() local 324 new_folder= model->AddFolder(parent, 1, ASCIIToUTF16("folder")); in TEST_F() 325 model->AddURL(new_folder, 0, ASCIIToUTF16("bar"), GURL("http://www.bar.com")); in TEST_F() 329 new_folder = model->AddFolder(parent, 1, ASCIIToUTF16("folder")); in TEST_F() 330 model->AddURL(new_folder, 0, ASCIIToUTF16("b"), GURL("http://www.b.com")); in TEST_F() 362 const BookmarkNode* new_folder; in TEST_F() local 364 new_folder = model->AddFolder(parent, 0, ASCIIToUTF16("folder")); in TEST_F() 365 model->AddURL(new_folder, 0, ASCIIToUTF16("bar"), GURL("http://www.bar.com")); in TEST_F() 373 new_folder = model->other_node()->GetChild(0); in TEST_F() 374 EXPECT_EQ(1, new_folder->child_count()); in TEST_F() [all …]
|
/external/chromium_org/ui/app_list/ |
D | app_list_model.cc | 138 AppListFolderItem* new_folder = static_cast<AppListFolderItem*>( in MergeItems() local 143 new_folder->item_list()->CreatePositionBefore( in MergeItems() 145 AddItemToFolderItemAndNotify(new_folder, target_item_ptr.Pass()); in MergeItems() 147 new_folder->item_list()->CreatePositionBefore( in MergeItems() 149 AddItemToFolderItemAndNotify(new_folder, source_item_ptr.Pass()); in MergeItems() 151 return new_folder->id(); in MergeItems() 330 scoped_ptr<AppListFolderItem> new_folder( in FindOrCreateFolderItem() local 332 new_folder->set_position( in FindOrCreateFolderItem() 335 AddItemToItemListAndNotify(new_folder.PassAs<AppListItem>()); in FindOrCreateFolderItem()
|
D | app_list_model_unittest.cc | 457 std::string new_folder = model_.MergeItems(folder_id, item0->id()); in TEST_F() local 458 EXPECT_EQ("", new_folder); in TEST_F()
|
/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_utils_unittest.cc | 264 const BookmarkNode* new_folder = model->AddFolder( in TEST_F() local 273 EXPECT_FALSE(CanPasteFromClipboard(model.get(), new_folder)); in TEST_F() 281 EXPECT_TRUE(CanPasteFromClipboard(model.get(), new_folder)); in TEST_F() 283 PasteFromClipboard(model.get(), new_folder, 0); in TEST_F() 284 ASSERT_EQ(1, new_folder->child_count()); in TEST_F() 287 EXPECT_EQ(url_text, ASCIIToUTF16(new_folder->GetChild(0)->url().spec())); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | change_list_processor_unittest.cc | 220 ResourceEntry new_folder; in TEST_F() local 221 new_folder.set_resource_id("new_folder_resource_id"); in TEST_F() 222 new_folder.set_title("New Directory"); in TEST_F() 223 new_folder.mutable_file_info()->set_is_directory(true); in TEST_F() 224 change_lists[0]->mutable_entries()->push_back(new_folder); in TEST_F() 232 new_folder.resource_id()); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_editor_view_unittest.cc | 433 const BookmarkNode* new_folder = parent->GetChild(0); in TEST_F() local 434 ASSERT_TRUE(new_folder->is_folder()); in TEST_F() 435 EXPECT_EQ("modified", base::UTF16ToASCII(new_folder->GetTitle())); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | app_list_syncable_service.cc | 858 scoped_ptr<AppListFolderItem> new_folder(new AppListFolderItem( in FindOrCreateOemFolder() local 861 model_->AddItem(new_folder.PassAs<app_list::AppListItem>())); in FindOrCreateOemFolder()
|
/external/libmtp/src/ |
D | libmtp.c | 6771 PTPObjectInfo new_folder; local 6788 memset(&new_folder, 0, sizeof(new_folder)); 6789 new_folder.Filename = name; 6791 strip_7bit_from_utf8(new_folder.Filename); 6793 new_folder.ObjectCompressedSize = 1; 6794 new_folder.ObjectFormat = PTP_OFC_Association; 6795 new_folder.ProtectionStatus = PTP_PS_NoProtection; 6796 new_folder.AssociationType = PTP_AT_GenericFolder; 6797 new_folder.ParentObject = parent_id; 6798 new_folder.StorageID = store; [all …]
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | two_client_bookmarks_sync_test.cc | 102 const BookmarkNode* new_folder = AddFolder(0, 2, "New Folder"); in IN_PROC_BROWSER_TEST_F() local 103 Move(0, GetUniqueNodeByURL(0, google_url), new_folder, 0); in IN_PROC_BROWSER_TEST_F()
|