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_TEST_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ |
6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "extensions/browser/extensions_browser_client.h" | 9 #include "extensions/browser/extensions_browser_client.h" |
10 | 10 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 virtual bool IsRunningInForcedAppMode() OVERRIDE; | 70 virtual bool IsRunningInForcedAppMode() OVERRIDE; |
71 virtual ApiActivityMonitor* GetApiActivityMonitor( | 71 virtual ApiActivityMonitor* GetApiActivityMonitor( |
72 content::BrowserContext* context) OVERRIDE; | 72 content::BrowserContext* context) OVERRIDE; |
73 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; | 73 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; |
74 virtual void RegisterExtensionFunctions( | 74 virtual void RegisterExtensionFunctions( |
75 ExtensionFunctionRegistry* registry) const OVERRIDE; | 75 ExtensionFunctionRegistry* registry) const OVERRIDE; |
76 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( | 76 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( |
77 content::BrowserContext* context) const OVERRIDE; | 77 content::BrowserContext* context) const OVERRIDE; |
78 virtual ComponentExtensionResourceManager* | 78 virtual ComponentExtensionResourceManager* |
79 GetComponentExtensionResourceManager() OVERRIDE; | 79 GetComponentExtensionResourceManager() OVERRIDE; |
| 80 virtual void BroadcastEventToRenderers( |
| 81 const std::string& event_name, |
| 82 scoped_ptr<base::ListValue> args) OVERRIDE; |
80 | 83 |
81 private: | 84 private: |
82 content::BrowserContext* main_context_; // Not owned. | 85 content::BrowserContext* main_context_; // Not owned. |
83 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. | 86 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. |
84 | 87 |
85 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); | 88 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); |
86 }; | 89 }; |
87 | 90 |
88 } // namespace extensions | 91 } // namespace extensions |
89 | 92 |
90 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ | 93 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |