OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "build/build_config.h" |
13 #include "extensions/browser/extension_event_histogram_value.h" | 14 #include "extensions/browser/extension_event_histogram_value.h" |
14 #include "extensions/browser/extension_prefs_observer.h" | 15 #include "extensions/browser/extension_prefs_observer.h" |
15 #include "extensions/common/view_type.h" | 16 #include "extensions/common/view_type.h" |
16 | 17 |
17 class ExtensionFunctionRegistry; | 18 class ExtensionFunctionRegistry; |
18 class PrefService; | 19 class PrefService; |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 class CommandLine; | 22 class CommandLine; |
22 class FilePath; | 23 class FilePath; |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 // Returns the single instance of |this|. | 249 // Returns the single instance of |this|. |
249 static ExtensionsBrowserClient* Get(); | 250 static ExtensionsBrowserClient* Get(); |
250 | 251 |
251 // Initialize the single instance. | 252 // Initialize the single instance. |
252 static void Set(ExtensionsBrowserClient* client); | 253 static void Set(ExtensionsBrowserClient* client); |
253 }; | 254 }; |
254 | 255 |
255 } // namespace extensions | 256 } // namespace extensions |
256 | 257 |
257 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 258 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |