/external/chromium_org/chrome/browser/sync/glue/ |
bookmark_data_type_controller.cc | 31 bookmark_model_(NULL), 50 bookmark_model_->RemoveObserver(this); 58 if (installed_bookmark_observer_ && bookmark_model_) { 60 bookmark_model_->RemoveObserver(this); 65 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile_); 67 bookmark_model_->AddObserver(this); 114 if (!bookmark_model_ || !bookmark_model_->loaded())
|
bookmark_model_associator.cc | 200 : bookmark_model_(bookmark_model), 207 DCHECK(bookmark_model_); 218 DCHECK(bookmark_model_->loaded()); 220 bookmark_model_->SetPermanentNodeVisible( 222 id_map_.find(bookmark_model_->mobile_node()->id()) != id_map_.end()); 381 new ScopedAssociationUpdater(bookmark_model_)); 407 DCHECK(bookmark_model_->loaded()); 411 if (!AssociateTaggedPermanentNode(bookmark_model_->bookmark_bar_node(), 419 if (!AssociateTaggedPermanentNode(bookmark_model_->other_node(), 427 if (!AssociateTaggedPermanentNode(bookmark_model_->mobile_node() [all...] |
bookmark_data_type_controller.h | 54 BookmarkModel* bookmark_model_; member in class:browser_sync::BookmarkDataTypeController
|
bookmark_data_type_controller_unittest.cc | 105 bookmark_model_ = static_cast<BookmarkModel*>( 108 test::WaitForBookmarkModelToLoad(bookmark_model_); 110 bookmark_model_ = static_cast<BookmarkModel*>( 153 BookmarkModel* bookmark_model_; member in class:SyncBookmarkDataTypeControllerTest 185 bookmark_model_->Load(profile_.GetIOTaskRunner()); 186 test::WaitForBookmarkModelToLoad(bookmark_model_);
|
bookmark_change_processor.cc | 50 bookmark_model_(NULL), 58 if (bookmark_model_) 59 bookmark_model_->RemoveObserver(this); 66 DCHECK(!bookmark_model_); 67 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile); 68 DCHECK(bookmark_model_->loaded()); 69 bookmark_model_->AddObserver(this); 134 UpdateTransactionVersion(new_version, bookmark_model_, 143 RemoveAllChildNodes(&trans, bookmark_model_->bookmark_bar_node()->id()); 144 RemoveAllChildNodes(&trans, bookmark_model_->other_node()->id()) [all...] |
bookmark_model_associator.h | 150 BookmarkModel* bookmark_model_; member in class:browser_sync::BookmarkModelAssociator
|
/external/chromium_org/chrome/browser/history/android/ |
bookmark_model_sql_handler_unittest.cc | 32 bookmark_model_(NULL), 49 bookmark_model_ = BookmarkModelFactory::GetForProfile(testing_profile); 50 test::WaitForBookmarkModelToLoad(bookmark_model_); 51 ASSERT_TRUE(bookmark_model_); variable 71 BookmarkModel* bookmark_model_; member in class:history::BookmarkModelSQLHandlerTest 90 bookmark_model_->GetNodesByURL(row.url(), &nodes); 95 EXPECT_EQ(bookmark_model_->mobile_node()->id(), parent->id()); 105 row.set_parent_id(bookmark_model_->other_node()->id()); 111 bookmark_model_->GetNodesByURL(row.url(), &nodes); 142 bookmark_model_->GetBookmarks(&bookmarks) [all...] |
android_provider_backend_unittest.cc | 114 bookmark_model_(NULL), 130 bookmark_model_ = BookmarkModelFactory::GetForProfile(testing_profile); 131 test::WaitForBookmarkModelToLoad(bookmark_model_); 132 ASSERT_TRUE(bookmark_model_); variable 150 const BookmarkNode* mobile_node = bookmark_model_->mobile_node(); 152 ASSERT_TRUE(bookmark_model_->AddURL(mobile_node, 0, base::string16(), url)); 198 BookmarkModel* bookmark_model_; member in class:history::AndroidProviderBackendTest 231 ASSERT_TRUE(bookmark_model_->AddURL(bookmark_model_->bookmark_bar_node(), 0, 238 new AndroidProviderBackendDelegate(), bookmark_model_); [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
bookmark_provider.h | 39 bookmark_model_ = bookmark_model; 63 BookmarkModel* bookmark_model_; member in class:BookmarkProvider
|
bookmark_provider.cc | 31 bookmark_model_(NULL) { 33 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile); 66 if (!bookmark_model_) 97 bookmark_model_->GetBookmarksWithTitlesMatching(input.text(), 251 bookmark_model_->GetNodesByURL(url, &nodes);
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
bookmark_tab_helper.cc | 49 if (bookmark_model_) 50 bookmark_model_->RemoveObserver(this); 82 bookmark_model_(NULL), 87 bookmark_model_= BookmarkModelFactory::GetForProfile(profile); 88 if (bookmark_model_) 89 bookmark_model_->AddObserver(this); 94 is_starred_ = (bookmark_model_ && 95 bookmark_model_->IsBookmarked(chrome::GetURLToBookmark(web_contents())));
|
recently_used_folders_combo_model.cc | 52 : bookmark_model_(model), 54 bookmark_model_->AddObserver(this); 96 bookmark_model_->RemoveObserver(this); 211 !bookmark_model_->is_permanent_node(i->node)) { 232 bookmark_model_->Move(node, new_parent, new_parent->child_count());
|
bookmark_tab_helper.h | 88 BookmarkModel* bookmark_model_; member in class:BookmarkTabHelper
|
recently_used_folders_combo_model.h | 80 BookmarkModel* bookmark_model_; member in class:RecentlyUsedFoldersComboModel
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_tag_model.cc | 88 : bookmark_model_(bookmark_model), 92 bookmark_model_->AddObserver(this); 93 if (bookmark_model_->loaded()) 98 if (bookmark_model_) 99 bookmark_model_->RemoveObserver(this); 113 DCHECK(bookmark_model_); 114 bookmark_model_->BeginExtensiveChanges(); 118 DCHECK(bookmark_model_); 119 bookmark_model_->EndExtensiveChanges(); 123 DCHECK(bookmark_model_); [all...] |
bookmark_expanded_state_tracker.cc | 17 : bookmark_model_(bookmark_model), 32 if (!bookmark_model_->loaded()) 49 (node = bookmark_model_->GetNodeByID(node_id)) != NULL &&
|
bookmark_expanded_state_tracker.h | 46 BookmarkModel* bookmark_model_; member in class:BookmarkExpandedStateTracker
|
/external/chromium/chrome/browser/sync/glue/ |
bookmark_model_associator.cc | 163 : bookmark_model_(bookmark_model), 169 DCHECK(bookmark_model_); 333 DCHECK(bookmark_model_->IsLoaded()); 337 if (!AssociateTaggedPermanentNode(bookmark_model_->other_node(), 343 if (!AssociateTaggedPermanentNode(bookmark_model_->GetBookmarkBarNode(), 350 bookmark_model_->GetBookmarkBarNode()->id()); 353 bookmark_model_->other_node()->id()); 389 bookmark_model_->Move(child_node, parent_node, index); 392 &sync_child_node, child_node, bookmark_model_)) { 394 child_node, bookmark_model_, &sync_child_node) [all...] |
bookmark_data_type_controller_unittest.cc | 67 WillOnce(Return(&bookmark_model_)); 68 EXPECT_CALL(bookmark_model_, IsLoaded()).WillRepeatedly(Return(true)); 92 BookmarkModelMock bookmark_model_; member in class:BookmarkDataTypeControllerTest 112 EXPECT_CALL(bookmark_model_, IsLoaded()).WillRepeatedly(Return(false)); 138 EXPECT_CALL(bookmark_model_, IsLoaded()).WillRepeatedly(Return(false)); 187 EXPECT_CALL(bookmark_model_, IsLoaded()).WillRepeatedly(Return(false));
|
bookmark_model_associator.h | 128 BookmarkModel* bookmark_model_; member in class:browser_sync::BookmarkModelAssociator
|
bookmark_change_processor.cc | 27 bookmark_model_(NULL), 36 DCHECK(!bookmark_model_); 37 bookmark_model_ = profile->GetBookmarkModel(); 38 DCHECK(bookmark_model_->IsLoaded()); 39 bookmark_model_->AddObserver(this); 44 DCHECK(bookmark_model_); 45 bookmark_model_->RemoveObserver(this); 46 bookmark_model_ = NULL; 138 bookmark_model_ = NULL; 372 BookmarkModel* model = bookmark_model_; [all...] |
/external/chromium_org/chrome/browser/ui/webui/ntp/android/ |
bookmarks_handler.cc | 84 : bookmark_model_(NULL), 91 if (bookmark_model_) 92 bookmark_model_->RemoveObserver(this); 110 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile); 111 if (bookmark_model_) { 112 bookmark_model_->AddObserver(this); 116 extensive_changes_ = bookmark_model_->IsDoingExtensiveChanges(); 183 bookmark_model_->Remove(parent_node, parent_node->GetIndexOf(node)); 285 if (bookmark_model_ && folder == bookmark_model_->mobile_node() & [all...] |
bookmarks_handler.h | 96 BookmarkModel* bookmark_model_; member in class:BookmarksHandler
|
/external/chromium_org/chrome/browser/android/bookmarks/ |
bookmarks_bridge.cc | 37 bookmark_model_(NULL), 41 bookmark_model_ = BookmarkModelFactory::GetForProfile(profile_); 44 bookmark_model_->AddObserver(this); 59 if (bookmark_model_->IsDoingExtensiveChanges()) 60 ExtensiveBookmarkChangesBeginning(bookmark_model_); 64 bookmark_model_->RemoveObserver(this); 115 if (folder == bookmark_model_->mobile_node() && 129 if (folder == bookmark_model_->mobile_node() && 188 bookmark_model_->Remove(parent_node, parent_node->GetIndexOf(node)); 237 node = bookmark_model_->GetNodeByID(static_cast<int64>(node_id)) [all...] |
/external/chromium/chrome/browser/history/ |
history_backend_unittest.cc | 72 HistoryBackendTest() : bookmark_model_(NULL), loaded_(false) {} 142 BookmarkModel bookmark_model_; member in class:history::HistoryBackendTest 157 &bookmark_model_); 285 bookmark_model_.AddURL( 286 bookmark_model_.GetBookmarkBarNode(), 0, string16(), row1.url()); 337 EXPECT_TRUE(bookmark_model_.IsBookmarked(row1.url())); 387 bookmark_model_.SetURLStarred(row1.url(), string16(), true); 388 bookmark_model_.SetURLStarred(row2.url(), string16(), true); 407 bookmark_model_.SetURLStarred(row2.url(), string16(), false); 423 bookmark_model_.SetURLStarred(row1.url(), string16(), false) [all...] |