Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / bookmarks / browser / bookmark_client.cc
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
3 // found in the LICENSE file.
4
5 #include "components/bookmarks/browser/bookmark_client.h"
6
7 #include "base/logging.h"
8
9 namespace bookmarks {
10
11 bool BookmarkClient::PreferTouchIcon() {
12   return false;
13 }
14
15 base::CancelableTaskTracker::TaskId BookmarkClient::GetFaviconImageForPageURL(
16     const GURL& page_url,
17     favicon_base::IconType type,
18     const favicon_base::FaviconImageCallback& callback,
19     base::CancelableTaskTracker* tracker) {
20   return base::CancelableTaskTracker::kBadTaskId;
21 }
22
23 bool BookmarkClient::SupportsTypedCountForNodes() {
24   return false;
25 }
26
27 void BookmarkClient::GetTypedCountForNodes(
28     const NodeSet& nodes,
29     NodeTypedCountPairs* node_typed_count_pairs) {
30   NOTREACHED();
31 }
32
33 }  // namespace bookmarks