/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_model_unittest.cc | 321 const BookmarkNode* mobile_node = model_->mobile_node(); in TEST_F() local 322 ASSERT_TRUE(mobile_node != NULL); in TEST_F() 323 EXPECT_EQ(0, mobile_node->child_count()); in TEST_F() 324 EXPECT_EQ(BookmarkNode::MOBILE, mobile_node->type()); in TEST_F() 327 EXPECT_TRUE(bb_node->id() != mobile_node->id()); in TEST_F() 328 EXPECT_TRUE(other_node->id() != mobile_node->id()); in TEST_F() 348 new_node->id() != model_->mobile_node()->id()); in TEST_F() 369 new_node->id() != model_->mobile_node()->id()); in TEST_F() 413 new_node->id() != model_->mobile_node()->id()); in TEST_F() 417 const BookmarkNode* root = model_->mobile_node(); in TEST_F() [all …]
|
D | bookmark_codec_unittest.cc | 79 AssertNodesEqual(expected->mobile_node(), actual->mobile_node())); in AssertModelsEqual() 168 AsMutable(model->mobile_node()), in Decode() 224 CheckIDs(model->mobile_node(), &assigned_ids); in ExpectIDsUnique() 394 ASSERT_TRUE(decoded_model->mobile_node() != NULL); in TEST_F()
|
D | bookmark_codec.cc | 57 model->mobile_node(), in Encode() 440 BookmarkNode* mobile_node) { in ReassignIDs() argument 444 ReassignIDsHelper(mobile_node); in ReassignIDs()
|
D | bookmark_codec.h | 130 BookmarkNode* mobile_node);
|
D | bookmark_utils_unittest.cc | 500 EXPECT_TRUE(model->mobile_node()->empty()); in TEST_F() 507 model->AddURL(model->mobile_node(), 0, title, url); in TEST_F() 521 EXPECT_TRUE(model->mobile_node()->empty()); in TEST_F()
|
D | bookmark_model.h | 96 const BookmarkNode* mobile_node() const { return mobile_node_; } in mobile_node() function
|
D | bookmark_model.cc | 1004 BookmarkPermanentNode* mobile_node = in CreateLoadDetails() local 1009 mobile_node, in CreateLoadDetails()
|
/external/chromium_org/chrome/browser/android/bookmarks/ |
D | bookmarks_bridge.cc | 210 env, j_result_obj, bookmark_model_->mobile_node()->id(), in GetTopLevelFolderParentIDs() 211 GetBookmarkType(bookmark_model_->mobile_node())); in GetTopLevelFolderParentIDs() 242 const BookmarkNode* mobile_node = bookmark_model_->mobile_node(); in GetTopLevelFolderIDs() local 243 for (int i = 0; i < mobile_node->child_count(); ++i) { in GetTopLevelFolderIDs() 244 const BookmarkNode* node = mobile_node->GetChild(i); in GetTopLevelFolderIDs() 276 const BookmarkNode* mobile_node = bookmark_model_->mobile_node(); in GetUncategorizedBookmarkIDs() local 277 for (int i = 0; i < mobile_node->child_count(); ++i) { in GetUncategorizedBookmarkIDs() 278 const BookmarkNode* node = mobile_node->GetChild(i); in GetUncategorizedBookmarkIDs() 306 const BookmarkNode* mobile = bookmark_model_->mobile_node(); in GetAllFoldersWithDepths() 372 const BookmarkNode* mobile_node = bookmark_model_->mobile_node(); in GetMobileFolderId() local [all …]
|
/external/chromium_org/chrome/browser/history/android/ |
D | bookmark_model_sql_handler.cc | 38 const BookmarkNode* mobile_node = bookmark_model->mobile_node(); in AddBookmarkToMobileFolder() local 39 if (mobile_node) in AddBookmarkToMobileFolder() 40 bookmark_model->AddURL(mobile_node, 0, title, url); in AddBookmarkToMobileFolder()
|
D | bookmark_model_sql_handler_unittest.cc | 95 EXPECT_EQ(bookmark_model_->mobile_node()->id(), parent->id()); in TEST_F() 154 EXPECT_EQ(bookmark_model_->mobile_node()->id(), parent->id()); in TEST_F() 229 EXPECT_EQ(1, bookmark_model_->mobile_node()->child_count()); in TEST_F() 241 EXPECT_EQ(1, bookmark_model_->mobile_node()->child_count()); in TEST_F()
|
D | android_provider_backend_unittest.cc | 164 const BookmarkNode* mobile_node = bookmark_model_->mobile_node(); in AddBookmark() local 165 ASSERT_TRUE(mobile_node); in AddBookmark() 166 ASSERT_TRUE(bookmark_model_->AddURL(mobile_node, 0, base::string16(), url)); in AddBookmark() 526 ASSERT_EQ(1, bookmark_model_->mobile_node()->child_count()); in TEST_F() 527 const BookmarkNode* child = bookmark_model_->mobile_node()->GetChild(0); in TEST_F() 629 ASSERT_EQ(1, bookmark_model_->mobile_node()->child_count()); in TEST_F() 630 const BookmarkNode* child = bookmark_model_->mobile_node()->GetChild(0); in TEST_F() 644 ASSERT_EQ(0, bookmark_model_->mobile_node()->child_count()); in TEST_F() 824 ASSERT_EQ(1, bookmark_model_->mobile_node()->child_count()); in TEST_F() 825 const BookmarkNode* child = bookmark_model_->mobile_node()->GetChild(0); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | recently_used_folders_combo_model.cc | 65 RemoveNode(model->mobile_node()); in RecentlyUsedFoldersComboModel() 81 if (model->mobile_node()->IsVisible()) in RecentlyUsedFoldersComboModel() 82 items_.push_back(Item(model->mobile_node(), Item::TYPE_NODE)); in RecentlyUsedFoldersComboModel()
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_menu_delegate.cc | 228 if (node == model->other_node() || node == model->mobile_node()) { in GetDropOperation() 236 if (node == model->mobile_node()) { in GetDropOperation() 279 drop_node == model->mobile_node()) { in OnPerformDrop() 446 BuildMenuForPermanentNode(model->mobile_node(), IDR_BOOKMARK_BAR_FOLDER, menu, in BuildMenusForPermanentNodes()
|
D | bookmark_editor_view_unittest.cc | 162 if (model_->mobile_node()->IsVisible()) { in TEST_F()
|
/external/chromium_org/chrome/browser/sync/ |
D | profile_sync_service_bookmark_unittest.cc | 700 EXPECT_EQ(root->GetIndexOf(model_->mobile_node()), 0); in ExpectModelMatch() 706 EXPECT_EQ(root->GetIndexOf(model_->mobile_node()), 2); in ExpectModelMatch() 733 model_associator_->GetSyncIdFromChromeId(model_->mobile_node()->id()); in mobile_bookmarks_id() 831 model_->AddFolder(model_->mobile_node(), 0, base::ASCIIToUTF16("pie")); in TEST_F() 861 model_->Remove(model_->mobile_node(), 0); in TEST_F() 1552 const BookmarkNode* mobile_bookmarks_node = model_->mobile_node(); in WriteTestDataToBookmarkModel() 1600 const BookmarkNode* mobile_bookmarks_node = model_->mobile_node(); in ExpectBookmarkModelMatchesTestData() 1677 EXPECT_EQ(model_->mobile_node()->child_count(), 0); in TEST_F() 2090 ExpectTransactionVersionMatch(model_->mobile_node(), in TEST_F() 2104 ExpectTransactionVersionMatch(model_->mobile_node(), initial_versions); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/bookmarks/ |
D | bookmark_html_writer_unittest.cc | 224 model->mobile_node(), 0, url1_title, url1, t1, NULL); in TEST_F() 225 model->AddURLWithCreationTimeAndMetaInfo(model->mobile_node(), in TEST_F()
|
D | chrome_bookmark_client_unittest.cc | 237 EXPECT_FALSE(client_->IsDescendantOfManagedNode(model_->mobile_node())); in TEST_F()
|
D | bookmark_html_writer.cc | 406 ExtractUrls(BookmarkModelFactory::GetForProfile(profile_)->mobile_node()); in ExportBookmarks()
|
/external/chromium_org/components/enhanced_bookmarks/ |
D | enhanced_bookmark_utils.cc | 74 nodes.push_back(model->mobile_node()); in PrimaryPermanentNodes()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | bookmark_model_associator.cc | 459 if (!AssociateTaggedPermanentNode(bookmark_model_->mobile_node(), in BuildAssociations() 478 bookmark_model_->mobile_node()->id()); in BuildAssociations() 630 dfs_stack.push(bookmark_model_->mobile_node()); in ApplyDeletesFromSyncJournal()
|
D | bookmark_change_processor.cc | 151 const int64 mobile_bookmark_id = bookmark_model_->mobile_node()->id(); in RemoveAllSyncNodes() 154 RemoveAllChildNodes(&trans, bookmark_model_->mobile_node()->id()); in RemoveAllSyncNodes() 622 model_associator_->Associate(model->mobile_node(), it->id); in ApplyChangesFromSyncModel()
|
/external/chromium_org/chrome/browser/android/provider/ |
D | chrome_browser_provider.cc | 416 const BookmarkNode* mobile_node = model->mobile_node(); in RunOnUIThread() local 417 while (node && node != mobile_node) in RunOnUIThread() 420 *result = node == mobile_node; in RunOnUIThread() 453 : model->mobile_node(); in RunOnUIThread() 618 *result = model->mobile_node(); in RunOnUIThread()
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_menu_bridge.mm | 108 if (!model->mobile_node()->empty()) { 115 model->mobile_node(),
|
/external/chromium_org/components/policy/core/browser/ |
D | managed_bookmarks_tracker_unittest.cc | 283 EXPECT_FALSE(IsManaged(model_->mobile_node())); in TEST_F()
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | bookmarks_helper.cc | 423 return GetBookmarkModel(index)->mobile_node(); in GetSyncedBookmarksNode()
|