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

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

Issue 331163003: [Refactor] Change FaviconService API to take in a desired pixel size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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() { 11 bool BookmarkClient::PreferTouchIcon() {
12 return false; 12 return false;
13 } 13 }
14 14
15 base::CancelableTaskTracker::TaskId BookmarkClient::GetFaviconImageForURL( 15 base::CancelableTaskTracker::TaskId BookmarkClient::GetFaviconImageForPageURL(
16 const GURL& page_url, 16 const GURL& page_url,
17 int icon_types, 17 favicon_base::IconType type,
18 int desired_size_in_dip,
19 const favicon_base::FaviconImageCallback& callback, 18 const favicon_base::FaviconImageCallback& callback,
20 base::CancelableTaskTracker* tracker) { 19 base::CancelableTaskTracker* tracker) {
21 return base::CancelableTaskTracker::kBadTaskId; 20 return base::CancelableTaskTracker::kBadTaskId;
22 } 21 }
23 22
24 bool BookmarkClient::SupportsTypedCountForNodes() { 23 bool BookmarkClient::SupportsTypedCountForNodes() {
25 return false; 24 return false;
26 } 25 }
27 26
28 void BookmarkClient::GetTypedCountForNodes( 27 void BookmarkClient::GetTypedCountForNodes(
29 const NodeSet& nodes, 28 const NodeSet& nodes,
30 NodeTypedCountPairs* node_typed_count_pairs) { 29 NodeTypedCountPairs* node_typed_count_pairs) {
31 NOTREACHED(); 30 NOTREACHED();
32 } 31 }
33 32
34 } // namespace bookmarks 33 } // namespace bookmarks
OLDNEW
« no previous file with comments | « components/bookmarks/browser/bookmark_client.h ('k') | components/bookmarks/browser/bookmark_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698