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 <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/task/cancelable_task_tracker.h" | 13 #include "base/task/cancelable_task_tracker.h" |
14 | 14 |
15 class BookmarkNode; | 15 class BookmarkNode; |
16 class GURL; | 16 class GURL; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual bool IsPermanentNodeVisible(int node_type) = 0; | 67 virtual bool IsPermanentNodeVisible(int node_type) = 0; |
68 | 68 |
69 // Wrapper around RecordAction defined in base/metrics/user_metrics.h | 69 // Wrapper around RecordAction defined in base/metrics/user_metrics.h |
70 // that ensure that the action is posted from the correct thread. | 70 // that ensure that the action is posted from the correct thread. |
71 virtual void RecordAction(const base::UserMetricsAction& action) = 0; | 71 virtual void RecordAction(const base::UserMetricsAction& action) = 0; |
72 | 72 |
73 protected: | 73 protected: |
74 virtual ~BookmarkClient() {} | 74 virtual ~BookmarkClient() {} |
75 }; | 75 }; |
76 | 76 |
77 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CLIENT_H_ | 77 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_CLIENT_H_ |
OLD | NEW |