/external/chromium_org/chrome/browser/history/android/ |
D | bookmark_model_sql_handler_unittest.cc | 32 bookmark_model_(NULL), in BookmarkModelSQLHandlerTest() 49 bookmark_model_ = BookmarkModelFactory::GetForProfile(testing_profile); in SetUp() 50 test::WaitForBookmarkModelToLoad(bookmark_model_); in SetUp() 51 ASSERT_TRUE(bookmark_model_); in SetUp() 71 BookmarkModel* bookmark_model_; member in history::BookmarkModelSQLHandlerTest 90 bookmark_model_->GetNodesByURL(row.url(), &nodes); in TEST_F() 95 EXPECT_EQ(bookmark_model_->mobile_node()->id(), parent->id()); in TEST_F() 105 row.set_parent_id(bookmark_model_->other_node()->id()); in TEST_F() 111 bookmark_model_->GetNodesByURL(row.url(), &nodes); in TEST_F() 142 bookmark_model_->GetBookmarks(&bookmarks); in TEST_F() [all …]
|
D | android_provider_backend_unittest.cc | 119 bookmark_model_(NULL), in AndroidProviderBackendTest() 135 bookmark_model_ = BookmarkModelFactory::GetForProfile(testing_profile); in SetUp() 138 test::WaitForBookmarkModelToLoad(bookmark_model_); in SetUp() 139 ASSERT_TRUE(bookmark_model_); in SetUp() 157 const BookmarkNode* mobile_node = bookmark_model_->mobile_node(); in AddBookmark() 159 ASSERT_TRUE(bookmark_model_->AddURL(mobile_node, 0, base::string16(), url)); in AddBookmark() 205 BookmarkModel* bookmark_model_; member in history::AndroidProviderBackendTest 238 ASSERT_TRUE(bookmark_model_->AddURL(bookmark_model_->bookmark_bar_node(), 0, in TEST_F() 543 ASSERT_EQ(1, bookmark_model_->mobile_node()->child_count()); in TEST_F() 544 const BookmarkNode* child = bookmark_model_->mobile_node()->GetChild(0); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | bookmark_data_type_controller.cc | 35 bookmark_model_(NULL), in BookmarkDataTypeController() 54 bookmark_model_->RemoveObserver(this); in Observe() 62 if (installed_bookmark_observer_ && bookmark_model_) { in ~BookmarkDataTypeController() 64 bookmark_model_->RemoveObserver(this); in ~BookmarkDataTypeController() 69 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile_); in StartModels() 71 bookmark_model_->AddObserver(this); in StartModels() 84 if (bookmark_model_ && installed_bookmark_observer_) { in CleanUpState() 85 bookmark_model_->RemoveObserver(this); in CleanUpState() 122 if (!bookmark_model_ || !bookmark_model_->loaded()) in DependentsLoaded()
|
D | bookmark_model_associator.cc | 218 : bookmark_model_(bookmark_model), in BookmarkModelAssociator() 225 DCHECK(bookmark_model_); in BookmarkModelAssociator() 236 DCHECK(bookmark_model_->loaded()); in UpdatePermanentNodeVisibility() 244 int64 id = bookmark_model_->PermanentNode(bookmark_node_types[i])->id(); in UpdatePermanentNodeVisibility() 245 bookmark_model_->SetPermanentNodeVisible( in UpdatePermanentNodeVisibility() 414 new ScopedAssociationUpdater(bookmark_model_)); in AssociateModels() 440 DCHECK(bookmark_model_->loaded()); in BuildAssociations() 444 if (!AssociateTaggedPermanentNode(bookmark_model_->bookmark_bar_node(), in BuildAssociations() 452 if (!AssociateTaggedPermanentNode(bookmark_model_->other_node(), in BuildAssociations() 460 if (!AssociateTaggedPermanentNode(bookmark_model_->mobile_node(), in BuildAssociations() [all …]
|
D | bookmark_change_processor.cc | 51 bookmark_model_(NULL), in BookmarkChangeProcessor() 61 if (bookmark_model_) in ~BookmarkChangeProcessor() 62 bookmark_model_->RemoveObserver(this); in ~BookmarkChangeProcessor() 67 DCHECK(!bookmark_model_); in StartImpl() 68 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile_); in StartImpl() 69 DCHECK(bookmark_model_->loaded()); in StartImpl() 70 bookmark_model_->AddObserver(this); in StartImpl() 135 UpdateTransactionVersion(new_version, bookmark_model_, in RemoveSyncNodeHierarchy() 144 RemoveAllChildNodes(&trans, bookmark_model_->bookmark_bar_node()->id()); in RemoveAllSyncNodes() 145 RemoveAllChildNodes(&trans, bookmark_model_->other_node()->id()); in RemoveAllSyncNodes() [all …]
|
D | bookmark_data_type_controller_unittest.cc | 124 bookmark_model_ = static_cast<BookmarkModel*>( in CreateBookmarkModel() 127 test::WaitForBookmarkModelToLoad(bookmark_model_); in CreateBookmarkModel() 129 bookmark_model_ = static_cast<BookmarkModel*>( in CreateBookmarkModel() 170 BookmarkModel* bookmark_model_; member in SyncBookmarkDataTypeControllerTest 202 bookmark_model_->Load(profile_.GetPrefs(), in TEST_F() 208 test::WaitForBookmarkModelToLoad(bookmark_model_); in TEST_F()
|
D | bookmark_data_type_controller.h | 55 BookmarkModel* bookmark_model_; variable
|
D | bookmark_model_associator.h | 150 BookmarkModel* bookmark_model_; variable
|
D | bookmark_change_processor.h | 211 BookmarkModel* bookmark_model_; variable
|
/external/chromium_org/chrome/browser/history/ |
D | chrome_history_client.cc | 14 : bookmark_model_(bookmark_model) { in ChromeHistoryClient() 15 DCHECK(bookmark_model_); in ChromeHistoryClient() 19 bookmark_model_->BlockTillLoaded(); in BlockUntilBookmarksLoaded() 23 return bookmark_model_->IsBookmarked(url); in IsBookmarked() 29 bookmark_model_->GetBookmarks(&bookmarks_url_and_title); in GetBookmarks() 56 bookmark_model_->Shutdown(); in Shutdown()
|
D | chrome_history_client.h | 31 BookmarkModel* bookmark_model_;
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | bookmark_tab_helper.cc | 49 if (bookmark_model_) in ~BookmarkTabHelper() 50 bookmark_model_->RemoveObserver(this); in ~BookmarkTabHelper() 82 bookmark_model_(NULL), in BookmarkTabHelper() 87 bookmark_model_= BookmarkModelFactory::GetForProfile(profile); in BookmarkTabHelper() 88 if (bookmark_model_) in BookmarkTabHelper() 89 bookmark_model_->AddObserver(this); in BookmarkTabHelper() 94 is_starred_ = (bookmark_model_ && in UpdateStarredStateForCurrentURL() 95 bookmark_model_->IsBookmarked(chrome::GetURLToBookmark(web_contents()))); in UpdateStarredStateForCurrentURL()
|
D | recently_used_folders_combo_model.cc | 52 : bookmark_model_(model), in RecentlyUsedFoldersComboModel() 54 bookmark_model_->AddObserver(this); in RecentlyUsedFoldersComboModel() 95 bookmark_model_->RemoveObserver(this); in ~RecentlyUsedFoldersComboModel() 211 !bookmark_model_->is_permanent_node(i->node)) { in BookmarkAllUserNodesRemoved() 234 bookmark_model_->Move(node, new_parent, new_parent->child_count()); in MaybeChangeParent()
|
D | bookmark_tab_helper.h | 92 BookmarkModel* bookmark_model_; variable
|
D | recently_used_folders_combo_model.h | 83 BookmarkModel* bookmark_model_; variable
|
/external/chromium_org/chrome/browser/android/bookmarks/ |
D | bookmarks_bridge.cc | 38 bookmark_model_(NULL), in BookmarksBridge() 43 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile_); in BookmarksBridge() 47 bookmark_model_->AddObserver(this); in BookmarksBridge() 59 if (bookmark_model_->IsDoingExtensiveChanges()) in BookmarksBridge() 60 ExtensiveBookmarkChangesBeginning(bookmark_model_); in BookmarksBridge() 64 bookmark_model_->RemoveObserver(this); in ~BookmarksBridge() 119 if (folder == bookmark_model_->mobile_node() && in GetBookmarksForFolder() 178 bookmark_model_->Remove(parent_node, parent_node->GetIndexOf(node)); in DeleteBookmark() 200 bookmark_model_->Move(node, new_parent_node, index); in MoveBookmark() 242 node = GetBookmarkNodeByID(bookmark_model_, static_cast<int64>(node_id)); in GetNodeByID() [all …]
|
D | bookmarks_bridge.h | 110 BookmarkModel* bookmark_model_; // weak variable
|
/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_expanded_state_tracker.cc | 19 : bookmark_model_(bookmark_model), in BookmarkExpandedStateTracker() 34 if (!bookmark_model_->loaded()) in GetExpandedNodes() 52 (node = GetBookmarkNodeByID(bookmark_model_, node_id)) != NULL && in GetExpandedNodes()
|
D | bookmark_expanded_state_tracker.h | 52 BookmarkModel* bookmark_model_; variable
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | bookmark_provider.cc | 36 bookmark_model_(NULL), in BookmarkProvider() 39 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile); in BookmarkProvider() 61 if (!bookmark_model_) in DoAutocomplete() 87 bookmark_model_->GetBookmarksMatching(input.text(), in DoAutocomplete() 288 bookmark_model_->GetNodesByURL(url, &nodes); in BookmarkMatchToACMatch()
|
D | bookmark_provider.h | 42 bookmark_model_ = bookmark_model; in set_bookmark_model_for_testing() 73 BookmarkModel* bookmark_model_; variable
|
/external/chromium_org/chrome/browser/android/provider/ |
D | chrome_browser_provider.cc | 1176 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile_); in ChromeBrowserProvider() 1183 bookmark_model_->AddObserver(this); in ChromeBrowserProvider() 1198 bookmark_model_->RemoveObserver(this); in ~ChromeBrowserProvider() 1218 AddBookmarkTask task(bookmark_model_); in AddBookmark() 1223 RemoveBookmarkTask task(bookmark_model_); in RemoveBookmark() 1238 UpdateBookmarkTask task(bookmark_model_); in UpdateBookmark() 1257 visits, parent_id, &row, bookmark_model_); in AddBookmarkFromAPI() 1339 visits, parent_id, &row, bookmark_model_); in UpdateBookmarkFromAPI() 1497 BookmarkNodeExistsTask task(bookmark_model_); in BookmarkNodeExists() 1510 CreateBookmarksFolderOnceTask task(bookmark_model_); in CreateBookmarksFolderOnce() [all …]
|
D | chrome_browser_provider.h | 191 BookmarkModel* bookmark_model_; variable
|
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/ |
D | bookmark_manager_private_api.cc | 172 : browser_context_(browser_context), bookmark_model_(bookmark_model) { in BookmarkManagerPrivateEventRouter() 173 bookmark_model_->AddObserver(this); in BookmarkManagerPrivateEventRouter() 177 if (bookmark_model_) in ~BookmarkManagerPrivateEventRouter() 178 bookmark_model_->RemoveObserver(this); in ~BookmarkManagerPrivateEventRouter() 192 bookmark_model_ = NULL; in BookmarkModelBeingDeleted()
|
D | bookmark_manager_private_api.h | 53 BookmarkModel* bookmark_model_; variable
|