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 #ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "components/bookmarks/browser/base_bookmark_model_observer.h" | 9 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
10 #include "components/bookmarks/browser/bookmark_client.h" | 10 #include "components/bookmarks/browser/bookmark_client.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 int icon_types, | 35 int icon_types, |
36 int desired_size_in_dip, | 36 int desired_size_in_dip, |
37 const favicon_base::FaviconImageCallback& callback, | 37 const favicon_base::FaviconImageCallback& callback, |
38 base::CancelableTaskTracker* tracker) OVERRIDE; | 38 base::CancelableTaskTracker* tracker) OVERRIDE; |
39 virtual bool SupportsTypedCountForNodes() OVERRIDE; | 39 virtual bool SupportsTypedCountForNodes() OVERRIDE; |
40 virtual void GetTypedCountForNodes( | 40 virtual void GetTypedCountForNodes( |
41 const NodeSet& nodes, | 41 const NodeSet& nodes, |
42 NodeTypedCountPairs* node_typed_count_pairs) OVERRIDE; | 42 NodeTypedCountPairs* node_typed_count_pairs) OVERRIDE; |
43 virtual bool IsPermanentNodeVisible(int node_type) OVERRIDE; | 43 virtual bool IsPermanentNodeVisible(int node_type) OVERRIDE; |
44 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; | 44 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; |
| 45 virtual std::string GetManagedBookmarksDomain() OVERRIDE; |
45 | 46 |
46 // content::NotificationObserver: | 47 // content::NotificationObserver: |
47 virtual void Observe(int type, | 48 virtual void Observe(int type, |
48 const content::NotificationSource& source, | 49 const content::NotificationSource& source, |
49 const content::NotificationDetails& details) OVERRIDE; | 50 const content::NotificationDetails& details) OVERRIDE; |
50 | 51 |
51 // KeyedService: | 52 // KeyedService: |
52 virtual void Shutdown() OVERRIDE; | 53 virtual void Shutdown() OVERRIDE; |
53 | 54 |
54 private: | 55 private: |
(...skipping 11 matching lines...) Expand all Loading... |
66 Profile* profile_; | 67 Profile* profile_; |
67 | 68 |
68 content::NotificationRegistrar registrar_; | 69 content::NotificationRegistrar registrar_; |
69 | 70 |
70 scoped_ptr<BookmarkModel> model_; | 71 scoped_ptr<BookmarkModel> model_; |
71 | 72 |
72 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); | 73 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); |
73 }; | 74 }; |
74 | 75 |
75 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 76 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
OLD | NEW |