| 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_BROWSER_BOOKMARK_CLIENT_H_ |
| 6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CLIENT_H_ | 6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_CLIENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/task/cancelable_task_tracker.h" | 12 #include "base/task/cancelable_task_tracker.h" |
| 13 | 13 |
| 14 class GURL; | 14 class GURL; |
| 15 class BookmarkNode; | 15 class BookmarkNode; |
| 16 | 16 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 NodeTypedCountPairs* node_typed_count_pairs); | 62 NodeTypedCountPairs* node_typed_count_pairs); |
| 63 | 63 |
| 64 // Wrapper around RecordAction defined in base/metrics/user_metrics.h | 64 // Wrapper around RecordAction defined in base/metrics/user_metrics.h |
| 65 // that ensure that the action is posted from the correct thread. | 65 // that ensure that the action is posted from the correct thread. |
| 66 virtual void RecordAction(const base::UserMetricsAction& action) = 0; | 66 virtual void RecordAction(const base::UserMetricsAction& action) = 0; |
| 67 | 67 |
| 68 protected: | 68 protected: |
| 69 virtual ~BookmarkClient() {} | 69 virtual ~BookmarkClient() {} |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CLIENT_H_ | 72 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_CLIENT_H_ |
| OLD | NEW |