Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: extensions/browser/test_extensions_browser_client.h

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No ash/ dependency anymore Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual bool IsRunningInForcedAppMode() OVERRIDE; 75 virtual bool IsRunningInForcedAppMode() OVERRIDE;
76 virtual ApiActivityMonitor* GetApiActivityMonitor( 76 virtual ApiActivityMonitor* GetApiActivityMonitor(
77 content::BrowserContext* context) OVERRIDE; 77 content::BrowserContext* context) OVERRIDE;
78 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; 78 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE;
79 virtual void RegisterExtensionFunctions( 79 virtual void RegisterExtensionFunctions(
80 ExtensionFunctionRegistry* registry) const OVERRIDE; 80 ExtensionFunctionRegistry* registry) const OVERRIDE;
81 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 81 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
82 content::BrowserContext* context) const OVERRIDE; 82 content::BrowserContext* context) const OVERRIDE;
83 virtual ComponentExtensionResourceManager* 83 virtual ComponentExtensionResourceManager*
84 GetComponentExtensionResourceManager() OVERRIDE; 84 GetComponentExtensionResourceManager() OVERRIDE;
85 virtual void BroadcastEventToRenderers(
86 const std::string& event_name,
87 scoped_ptr<base::ListValue> args) OVERRIDE;
85 virtual net::NetLog* GetNetLog() OVERRIDE; 88 virtual net::NetLog* GetNetLog() OVERRIDE;
86 89
87 private: 90 private:
88 content::BrowserContext* main_context_; // Not owned. 91 content::BrowserContext* main_context_; // Not owned.
89 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. 92 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL.
90 93
91 // Not owned, defaults to NULL. 94 // Not owned, defaults to NULL.
92 ProcessManagerDelegate* process_manager_delegate_; 95 ProcessManagerDelegate* process_manager_delegate_;
93 96
94 // Not owned, defaults to NULL. 97 // Not owned, defaults to NULL.
95 ExtensionSystemProvider* extension_system_factory_; 98 ExtensionSystemProvider* extension_system_factory_;
96 99
97 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 100 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
98 }; 101 };
99 102
100 } // namespace extensions 103 } // namespace extensions
101 104
102 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 105 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698