Home
last modified time | relevance | path

Searched refs:bookmark_model_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/sync/glue/
Dbookmark_model_associator.cc163 : bookmark_model_(bookmark_model), in BookmarkModelAssociator()
169 DCHECK(bookmark_model_); in BookmarkModelAssociator()
333 DCHECK(bookmark_model_->IsLoaded()); in BuildAssociations()
337 if (!AssociateTaggedPermanentNode(bookmark_model_->other_node(), in BuildAssociations()
343 if (!AssociateTaggedPermanentNode(bookmark_model_->GetBookmarkBarNode(), in BuildAssociations()
350 bookmark_model_->GetBookmarkBarNode()->id()); in BuildAssociations()
353 bookmark_model_->other_node()->id()); in BuildAssociations()
389 bookmark_model_->Move(child_node, parent_node, index); in BuildAssociations()
392 &sync_child_node, child_node, bookmark_model_)) { in BuildAssociations()
394 child_node, bookmark_model_, &sync_child_node); in BuildAssociations()
[all …]
Dbookmark_data_type_controller_unittest.cc67 WillOnce(Return(&bookmark_model_)); in SetStartExpectations()
68 EXPECT_CALL(bookmark_model_, IsLoaded()).WillRepeatedly(Return(true)); in SetStartExpectations()
92 BookmarkModelMock bookmark_model_; member in BookmarkDataTypeControllerTest
112 EXPECT_CALL(bookmark_model_, IsLoaded()).WillRepeatedly(Return(false)); in TEST_F()
138 EXPECT_CALL(bookmark_model_, IsLoaded()).WillRepeatedly(Return(false)); in TEST_F()
187 EXPECT_CALL(bookmark_model_, IsLoaded()).WillRepeatedly(Return(false)); in TEST_F()
Dbookmark_change_processor.cc27 bookmark_model_(NULL), in BookmarkChangeProcessor()
36 DCHECK(!bookmark_model_); in StartImpl()
37 bookmark_model_ = profile->GetBookmarkModel(); in StartImpl()
38 DCHECK(bookmark_model_->IsLoaded()); in StartImpl()
39 bookmark_model_->AddObserver(this); in StartImpl()
44 DCHECK(bookmark_model_); in StopImpl()
45 bookmark_model_->RemoveObserver(this); in StopImpl()
46 bookmark_model_ = NULL; in StopImpl()
138 bookmark_model_ = NULL; in BookmarkModelBeingDeleted()
372 BookmarkModel* model = bookmark_model_; in ApplyChangesFromSyncModel()
Dbookmark_model_associator.h128 BookmarkModel* bookmark_model_; variable
Dbookmark_change_processor.h163 BookmarkModel* bookmark_model_; variable
/external/chromium/chrome/browser/history/
Dhistory_backend_unittest.cc72 HistoryBackendTest() : bookmark_model_(NULL), loaded_(false) {} in HistoryBackendTest()
142 BookmarkModel bookmark_model_; member in history::HistoryBackendTest
157 &bookmark_model_); in SetUp()
285 bookmark_model_.AddURL( in TEST_F()
286 bookmark_model_.GetBookmarkBarNode(), 0, string16(), row1.url()); in TEST_F()
337 EXPECT_TRUE(bookmark_model_.IsBookmarked(row1.url())); in TEST_F()
387 bookmark_model_.SetURLStarred(row1.url(), string16(), true); in TEST_F()
388 bookmark_model_.SetURLStarred(row2.url(), string16(), true); in TEST_F()
407 bookmark_model_.SetURLStarred(row2.url(), string16(), false); in TEST_F()
423 bookmark_model_.SetURLStarred(row1.url(), string16(), false); in TEST_F()
[all …]
Dexpire_history_backend_unittest.cc54 : bookmark_model_(NULL), in ExpireHistoryTest()
57 ALLOW_THIS_IN_INITIALIZER_LIST(expirer_(this, &bookmark_model_)), in ExpireHistoryTest()
89 bookmark_model_.AddURL( in StarURL()
90 bookmark_model_.GetBookmarkBarNode(), 0, string16(), url); in StarURL()
101 BookmarkModel bookmark_model_; member in history::ExpireHistoryTest
581 bookmark_model_.SetURLStarred(url, string16(), false); in TEST_F()