| OLD | NEW |
| 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, | |
| 18 int desired_size_in_dip, | |
| 19 const favicon_base::FaviconImageCallback& callback, | 17 const favicon_base::FaviconImageCallback& callback, |
| 20 base::CancelableTaskTracker* tracker) { | 18 base::CancelableTaskTracker* tracker) { |
| 21 return base::CancelableTaskTracker::kBadTaskId; | 19 return base::CancelableTaskTracker::kBadTaskId; |
| 20 } |
| 21 |
| 22 base::CancelableTaskTracker::TaskId |
| 23 BookmarkClient::GetTouchFaviconImageForPageURL( |
| 24 const GURL& page_url, |
| 25 const favicon_base::FaviconImageCallback& callback, |
| 26 base::CancelableTaskTracker* tracker) { |
| 27 return base::CancelableTaskTracker::kBadTaskId; |
| 22 } | 28 } |
| 23 | 29 |
| 24 bool BookmarkClient::SupportsTypedCountForNodes() { | 30 bool BookmarkClient::SupportsTypedCountForNodes() { |
| 25 return false; | 31 return false; |
| 26 } | 32 } |
| 27 | 33 |
| 28 void BookmarkClient::GetTypedCountForNodes( | 34 void BookmarkClient::GetTypedCountForNodes( |
| 29 const NodeSet& nodes, | 35 const NodeSet& nodes, |
| 30 NodeTypedCountPairs* node_typed_count_pairs) { | 36 NodeTypedCountPairs* node_typed_count_pairs) { |
| 31 NOTREACHED(); | 37 NOTREACHED(); |
| 32 } | 38 } |
| 33 | 39 |
| 34 } // namespace bookmarks | 40 } // namespace bookmarks |
| OLD | NEW |