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 EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ |
6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ | 6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "extensions/browser/api/declarative_content/content_rules_registry.h" | 12 #include "extensions/browser/api/declarative_content/content_rules_registry.h" |
13 #include "extensions/browser/api/storage/settings_namespace.h" | 13 #include "extensions/browser/api/storage/settings_namespace.h" |
14 | 14 |
15 class GURL; | |
16 | |
17 namespace base { | 15 namespace base { |
18 template <class T> | 16 template <class T> |
19 class ObserverListThreadSafe; | 17 class ObserverListThreadSafe; |
20 } | 18 } |
21 | 19 |
22 namespace content { | 20 namespace content { |
23 class BrowserContext; | 21 class BrowserContext; |
24 class WebContents; | 22 class WebContents; |
25 } | 23 } |
26 | 24 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // MetricsPrivateAPI behavior. | 130 // MetricsPrivateAPI behavior. |
133 virtual MetricsPrivateDelegate* GetMetricsPrivateDelegate(); | 131 virtual MetricsPrivateDelegate* GetMetricsPrivateDelegate(); |
134 | 132 |
135 // NOTE: If this interface gains too many methods (perhaps more than 20) it | 133 // NOTE: If this interface gains too many methods (perhaps more than 20) it |
136 // should be split into one interface per API. | 134 // should be split into one interface per API. |
137 }; | 135 }; |
138 | 136 |
139 } // namespace extensions | 137 } // namespace extensions |
140 | 138 |
141 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ | 139 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ |
OLD | NEW |