| 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/core/browser/base_bookmark_model_observer.h" | 9 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h" |
| 10 #include "components/bookmarks/core/browser/bookmark_client.h" | 10 #include "components/bookmarks/core/browser/bookmark_client.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 virtual base::CancelableTaskTracker::TaskId GetFaviconImageForURL( | 33 virtual base::CancelableTaskTracker::TaskId GetFaviconImageForURL( |
| 34 const GURL& page_url, | 34 const GURL& page_url, |
| 35 int icon_types, | 35 int icon_types, |
| 36 int desired_size_in_dip, | 36 int desired_size_in_dip, |
| 37 const FaviconImageCallback& callback, | 37 const 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 void RecordAction(const base::UserMetricsAction& action) OVERRIDE; | 44 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; |
| 44 | 45 |
| 45 // content::NotificationObserver: | 46 // content::NotificationObserver: |
| 46 virtual void Observe(int type, | 47 virtual void Observe(int type, |
| 47 const content::NotificationSource& source, | 48 const content::NotificationSource& source, |
| 48 const content::NotificationDetails& details) OVERRIDE; | 49 const content::NotificationDetails& details) OVERRIDE; |
| 49 | 50 |
| 50 // KeyedService: | 51 // KeyedService: |
| 51 virtual void Shutdown() OVERRIDE; | 52 virtual void Shutdown() OVERRIDE; |
| 52 | 53 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 65 Profile* profile_; | 66 Profile* profile_; |
| 66 | 67 |
| 67 content::NotificationRegistrar registrar_; | 68 content::NotificationRegistrar registrar_; |
| 68 | 69 |
| 69 scoped_ptr<BookmarkModel> model_; | 70 scoped_ptr<BookmarkModel> model_; |
| 70 | 71 |
| 71 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); | 72 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 75 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
| OLD | NEW |