| 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 COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CLIENT_H_ | 5 #ifndef COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CLIENT_H_ |
| 6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CLIENT_H_ | 6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CLIENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <utility> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #include "base/callback.h" | 12 #include "base/callback_forward.h" |
| 12 #include "base/task/cancelable_task_tracker.h" | 13 #include "base/task/cancelable_task_tracker.h" |
| 13 | 14 |
| 15 class BookmarkNode; |
| 14 class GURL; | 16 class GURL; |
| 15 class BookmarkNode; | |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 struct UserMetricsAction; | 19 struct UserMetricsAction; |
| 19 } | 20 } |
| 20 | 21 |
| 21 namespace favicon_base { | 22 namespace favicon_base { |
| 22 struct FaviconImageResult; | 23 struct FaviconImageResult; |
| 23 } | 24 } |
| 24 | 25 |
| 25 // This class abstracts operations that depends on the embedder's environment, | 26 // This class abstracts operations that depends on the embedder's environment, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 64 |
| 64 // Wrapper around RecordAction defined in base/metrics/user_metrics.h | 65 // Wrapper around RecordAction defined in base/metrics/user_metrics.h |
| 65 // that ensure that the action is posted from the correct thread. | 66 // that ensure that the action is posted from the correct thread. |
| 66 virtual void RecordAction(const base::UserMetricsAction& action) = 0; | 67 virtual void RecordAction(const base::UserMetricsAction& action) = 0; |
| 67 | 68 |
| 68 protected: | 69 protected: |
| 69 virtual ~BookmarkClient() {} | 70 virtual ~BookmarkClient() {} |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CLIENT_H_ | 73 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CLIENT_H_ |
| OLD | NEW |