Searched refs:bookmark_model (Results 1 - 25 of 43) sorted by relevance

12

/external/chromium_org/chrome/browser/favicon/
H A Dchrome_favicon_client.cc9 #include "components/bookmarks/browser/bookmark_model.h"
25 BookmarkModel* bookmark_model = BookmarkModelFactory::GetForProfile(profile_); local
26 return bookmark_model && bookmark_model->IsBookmarked(url);
/external/chromium_org/components/enhanced_bookmarks/
H A Denhanced_bookmark_utils_unittest.cc7 #include "components/bookmarks/browser/bookmark_model.h"
39 scoped_ptr<BookmarkModel> bookmark_model(bookmark_client.CreateModel());
40 const BookmarkNode* node1 = AddBookmark(bookmark_model.get(), "john hopkins");
41 const BookmarkNode* node2 = AddBookmark(bookmark_model.get(), "JohN hopkins");
42 const BookmarkNode* node3 = AddBookmark(bookmark_model.get(), "katy perry");
43 const BookmarkNode* node4 = AddBookmark(bookmark_model.get(), "lil'john13");
44 const BookmarkNode* node5 = AddBookmark(bookmark_model.get(), "jo hn");
47 enhanced_bookmarks::FindBookmarksWithQuery(bookmark_model.get(), "john");
H A Dmetadata_accessor.h35 std::string RemoteIdFromBookmark(BookmarkModel* bookmark_model,
39 void SetDescriptionForBookmark(BookmarkModel* bookmark_model,
49 bool SetOriginalImageForBookmark(BookmarkModel* bookmark_model,
77 bool SetAllImagesForBookmark(BookmarkModel* bookmark_model,
H A Dmetadata_accessor.cc11 #include "components/bookmarks/browser/bookmark_model.h"
39 std::string SetRemoteIdOnBookmark(BookmarkModel* bookmark_model, argument
46 bookmark_model->SetNodeMetaInfo(
78 std::string RemoteIdFromBookmark(BookmarkModel* bookmark_model, argument
82 return SetRemoteIdOnBookmark(bookmark_model, node);
86 return SetRemoteIdOnBookmark(bookmark_model, node);
92 void SetDescriptionForBookmark(BookmarkModel* bookmark_model, argument
95 bookmark_model->SetNodeMetaInfo(node, kNoteKey, description);
112 bool SetOriginalImageForBookmark(BookmarkModel* bookmark_model, argument
143 bookmark_model
200 SetAllImagesForBookmark(BookmarkModel* bookmark_model, const BookmarkNode* node, const GURL& image_url, int image_width, int image_height, const GURL& thumbnail_url, int thumbnail_width, int thumbnail_height) argument
[all...]
H A Denhanced_bookmark_utils.h20 BookmarkModel* bookmark_model,
H A Dbookmark_server_search_service.h27 EnhancedBookmarkModel* bookmark_model);
H A Denhanced_bookmark_model.h37 EnhancedBookmarkModel(BookmarkModel* bookmark_model,
125 BookmarkModel* bookmark_model() { return bookmark_model_; } function in class:enhanced_bookmarks::EnhancedBookmarkModel
/external/chromium_org/chrome/browser/history/android/
H A Dbookmark_model_sql_handler.cc11 #include "components/bookmarks/browser/bookmark_model.h"
35 BookmarkModel* bookmark_model = GetBookmarkModel(); local
36 if (!bookmark_model)
38 const BookmarkNode* mobile_node = bookmark_model->mobile_node();
40 bookmark_model->AddURL(mobile_node, 0, title, url);
46 BookmarkModel* bookmark_model = GetBookmarkModel(); local
47 if (!bookmark_model)
50 bookmarks::GetBookmarkNodeByID(bookmark_model, parent_id);
52 bookmark_model->AddURL(parent, 0, title, url);
56 BookmarkModel* bookmark_model local
71 BookmarkModel* bookmark_model = GetBookmarkModel(); local
[all...]
/external/chromium_org/chrome/browser/ui/bookmarks/
H A Dbookmark_browsertest.cc20 #include "components/bookmarks/browser/bookmark_model.h"
59 BookmarkModel* bookmark_model = local
61 test::WaitForBookmarkModelToLoad(bookmark_model);
62 return bookmark_model;
81 BookmarkModel* bookmark_model = WaitForBookmarkModel(browser()->profile()); local
83 bookmarks::AddIfNotBookmarked(bookmark_model,
96 BookmarkModel* bookmark_model = WaitForBookmarkModel(browser()->profile()); local
99 bookmark_model->GetBookmarks(&urls);
/external/chromium_org/chrome/browser/bookmarks/
H A Dbookmark_model_factory.cc22 #include "components/bookmarks/browser/bookmark_model.h"
61 BookmarkModel* bookmark_model = new BookmarkModel(bookmark_client); local
62 bookmark_client->Init(bookmark_model);
63 bookmark_model->Load(profile->GetPrefs(),
77 bookmark_model->AddObserver(
80 return bookmark_model;
/external/chromium_org/chrome/browser/autocomplete/
H A Dbookmark_provider.h41 void set_bookmark_model_for_testing(BookmarkModel* bookmark_model) { argument
42 bookmark_model_ = bookmark_model;
H A Dhistory_provider.cc17 #include "components/bookmarks/browser/bookmark_model.h"
58 BookmarkModel* bookmark_model = BookmarkModelFactory::GetForProfile(profile_); local
63 (bookmark_model &&
64 bookmark_model->IsBookmarked(i->destination_url))) {
/external/chromium_org/components/bookmarks/test/
H A Dtest_bookmark_client.cc10 #include "components/bookmarks/browser/bookmark_model.h"
21 scoped_ptr<BookmarkModel> bookmark_model(new BookmarkModel(this));
23 bookmark_model->CreateLoadDetails(std::string());
25 bookmark_model->DoneLoading(details.Pass());
26 return bookmark_model.Pass();
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_bubble_view_unittest.cc32 BookmarkModel* bookmark_model = variable
34 test::WaitForBookmarkModelToLoad(bookmark_model);
37 bookmark_model, GURL(kTestBookmarkURL), base::string16());
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_expanded_state_tracker.cc10 #include "components/bookmarks/browser/bookmark_model.h"
17 BookmarkModel* bookmark_model,
19 : bookmark_model_(bookmark_model),
21 bookmark_model->AddObserver(this);
16 BookmarkExpandedStateTracker( BookmarkModel* bookmark_model, PrefService* pref_service) argument
H A Dbookmark_expanded_state_tracker.h25 BookmarkExpandedStateTracker(BookmarkModel* bookmark_model,
/external/chromium_org/chrome/browser/android/provider/
H A Dbookmark_model_observer_task.cc7 #include "components/bookmarks/browser/bookmark_model.h"
25 BookmarkModel* bookmark_model)
26 : BookmarkModelTask(bookmark_model) {
24 BookmarkModelObserverTask( BookmarkModel* bookmark_model) argument
H A Dbookmark_model_observer_task.h30 explicit BookmarkModelObserverTask(BookmarkModel* bookmark_model);
/external/chromium_org/chrome/browser/importer/
H A Dprofile_writer_unittest.cc18 #include "components/bookmarks/browser/bookmark_model.h"
82 BookmarkModel* bookmark_model,
86 bookmark_model->GetBookmarksMatching(
175 BookmarkModel* bookmark_model = local
177 test::WaitForBookmarkModelToLoad(bookmark_model);
184 bookmark_model->GetBookmarks(&bookmarks_record);
187 VerifyBookmarksCount(bookmarks_record, bookmark_model, 1);
192 VerifyBookmarksCount(bookmarks_record, bookmark_model, 2);
80 VerifyBookmarksCount( const std::vector<BookmarkModel::URLAndTitle>& bookmarks_record, BookmarkModel* bookmark_model, size_t expected) argument
/external/chromium_org/chrome/browser/history/
H A Dchrome_history_client.h24 explicit ChromeHistoryClient(BookmarkModel* bookmark_model,
H A Dchrome_history_client.cc15 #include "components/bookmarks/browser/bookmark_model.h"
18 ChromeHistoryClient::ChromeHistoryClient(BookmarkModel* bookmark_model, argument
21 : bookmark_model_(bookmark_model),
/external/chromium_org/chrome/browser/ui/app_list/search/
H A Domnibox_provider.cc14 #include "components/bookmarks/browser/bookmark_model.h"
115 BookmarkModel* bookmark_model = local
118 bookmark_model && bookmark_model->IsBookmarked(match_.destination_url);
/external/chromium_org/chrome/browser/sync/glue/
H A Dbookmark_data_type_controller_unittest.cc24 #include "components/bookmarks/browser/bookmark_model.h"
70 BookmarkModel* bookmark_model = new BookmarkModel(bookmark_client); local
71 bookmark_client->Init(bookmark_model);
72 return bookmark_model;
76 BookmarkModel* bookmark_model = static_cast<BookmarkModel*>( local
79 bookmark_model->Load(profile->GetPrefs(),
85 return bookmark_model;
/external/chromium_org/chrome/browser/ui/webui/omnibox/
H A Domnibox_ui_handler.cc24 #include "components/bookmarks/browser/bookmark_model.h"
144 BookmarkModel* bookmark_model = BookmarkModelFactory::GetForProfile(profile_); local
145 if (bookmark_model) {
147 result->combined_results[i]->starred = bookmark_model->IsBookmarked(
154 result_by_provider.results[j]->starred = bookmark_model->IsBookmarked(
/external/chromium_org/chrome/browser/extensions/
H A Dlazy_background_page_apitest.cc21 #include "components/bookmarks/browser/bookmark_model.h"
386 BookmarkModel* bookmark_model = local
388 test::WaitForBookmarkModelToLoad(bookmark_model);
389 const BookmarkNode* parent = bookmark_model->bookmark_bar_node();
390 bookmark_model->AddURL(
504 BookmarkModel* bookmark_model = local
506 test::WaitForBookmarkModelToLoad(bookmark_model);
507 bookmarks::AddIfNotBookmarked(bookmark_model,

Completed in 342 milliseconds

12