Home
last modified time | relevance | path

Searched refs:mobile_node (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/components/bookmarks/browser/
Dbookmark_model_unittest.cc321 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 …]
Dbookmark_codec_unittest.cc79 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()
Dbookmark_codec.cc57 model->mobile_node(), in Encode()
440 BookmarkNode* mobile_node) { in ReassignIDs() argument
444 ReassignIDsHelper(mobile_node); in ReassignIDs()
Dbookmark_codec.h130 BookmarkNode* mobile_node);
Dbookmark_utils_unittest.cc500 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()
Dbookmark_model.h96 const BookmarkNode* mobile_node() const { return mobile_node_; } in mobile_node() function
Dbookmark_model.cc1004 BookmarkPermanentNode* mobile_node = in CreateLoadDetails() local
1009 mobile_node, in CreateLoadDetails()
/external/chromium_org/chrome/browser/android/bookmarks/
Dbookmarks_bridge.cc210 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/
Dbookmark_model_sql_handler.cc38 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()
Dbookmark_model_sql_handler_unittest.cc95 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()
Dandroid_provider_backend_unittest.cc164 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/
Drecently_used_folders_combo_model.cc65 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/
Dbookmark_menu_delegate.cc228 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()
Dbookmark_editor_view_unittest.cc162 if (model_->mobile_node()->IsVisible()) { in TEST_F()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc700 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/
Dbookmark_html_writer_unittest.cc224 model->mobile_node(), 0, url1_title, url1, t1, NULL); in TEST_F()
225 model->AddURLWithCreationTimeAndMetaInfo(model->mobile_node(), in TEST_F()
Dchrome_bookmark_client_unittest.cc237 EXPECT_FALSE(client_->IsDescendantOfManagedNode(model_->mobile_node())); in TEST_F()
Dbookmark_html_writer.cc406 ExtractUrls(BookmarkModelFactory::GetForProfile(profile_)->mobile_node()); in ExportBookmarks()
/external/chromium_org/components/enhanced_bookmarks/
Denhanced_bookmark_utils.cc74 nodes.push_back(model->mobile_node()); in PrimaryPermanentNodes()
/external/chromium_org/chrome/browser/sync/glue/
Dbookmark_model_associator.cc459 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()
Dbookmark_change_processor.cc151 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/
Dchrome_browser_provider.cc416 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/
Dbookmark_menu_bridge.mm108 if (!model->mobile_node()->empty()) {
115 model->mobile_node(),
/external/chromium_org/components/policy/core/browser/
Dmanaged_bookmarks_tracker_unittest.cc283 EXPECT_FALSE(IsManaged(model_->mobile_node())); in TEST_F()
/external/chromium_org/chrome/browser/sync/test/integration/
Dbookmarks_helper.cc423 return GetBookmarkModel(index)->mobile_node(); in GetSyncedBookmarksNode()

12