Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: components/bookmarks/browser/bookmark_client.cc

Issue 1203713002: Limit access to ChromeBookmarkClient to bookmarks code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_bookmark_client
Patch Set: Rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/bookmarks/browser/bookmark_client.h" 5 #include "components/bookmarks/browser/bookmark_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace bookmarks { 9 namespace bookmarks {
10 10
11 bool BookmarkClient::PreferTouchIcon() {
12 return false;
13 }
14
15 base::CancelableTaskTracker::TaskId BookmarkClient::GetFaviconImageForPageURL( 11 base::CancelableTaskTracker::TaskId BookmarkClient::GetFaviconImageForPageURL(
16 const GURL& page_url, 12 const GURL& page_url,
17 favicon_base::IconType type, 13 favicon_base::IconType type,
18 const favicon_base::FaviconImageCallback& callback, 14 const favicon_base::FaviconImageCallback& callback,
19 base::CancelableTaskTracker* tracker) { 15 base::CancelableTaskTracker* tracker) {
20 return base::CancelableTaskTracker::kBadTaskId; 16 return base::CancelableTaskTracker::kBadTaskId;
21 } 17 }
22 18
23 bool BookmarkClient::SupportsTypedCountForNodes() { 19 bool BookmarkClient::SupportsTypedCountForNodes() {
24 return false; 20 return false;
25 } 21 }
26 22
27 void BookmarkClient::GetTypedCountForNodes( 23 void BookmarkClient::GetTypedCountForNodes(
28 const NodeSet& nodes, 24 const NodeSet& nodes,
29 NodeTypedCountPairs* node_typed_count_pairs) { 25 NodeTypedCountPairs* node_typed_count_pairs) {
30 NOTREACHED(); 26 NOTREACHED();
31 } 27 }
32 28
33 } // namespace bookmarks 29 } // namespace bookmarks
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698