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

Side by Side Diff: chrome/browser/extensions/chrome_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: Rebased 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 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 CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual bool IsRunningInForcedAppMode() OVERRIDE; 86 virtual bool IsRunningInForcedAppMode() OVERRIDE;
87 virtual ApiActivityMonitor* GetApiActivityMonitor( 87 virtual ApiActivityMonitor* GetApiActivityMonitor(
88 content::BrowserContext* context) OVERRIDE; 88 content::BrowserContext* context) OVERRIDE;
89 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; 89 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE;
90 virtual void RegisterExtensionFunctions( 90 virtual void RegisterExtensionFunctions(
91 ExtensionFunctionRegistry* registry) const OVERRIDE; 91 ExtensionFunctionRegistry* registry) const OVERRIDE;
92 virtual scoped_ptr<extensions::RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 92 virtual scoped_ptr<extensions::RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
93 content::BrowserContext* context) const OVERRIDE; 93 content::BrowserContext* context) const OVERRIDE;
94 virtual ComponentExtensionResourceManager* 94 virtual ComponentExtensionResourceManager*
95 GetComponentExtensionResourceManager() OVERRIDE; 95 GetComponentExtensionResourceManager() OVERRIDE;
96 virtual void BroadcastEventToRenderers(
97 const std::string& event_name,
98 scoped_ptr<base::ListValue> args) OVERRIDE;
96 virtual net::NetLog* GetNetLog() OVERRIDE; 99 virtual net::NetLog* GetNetLog() OVERRIDE;
97 100
98 private: 101 private:
99 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; 102 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>;
100 103
101 // Observer for Chrome-specific notifications. 104 // Observer for Chrome-specific notifications.
102 ChromeNotificationObserver notification_observer_; 105 ChromeNotificationObserver notification_observer_;
103 106
104 // Support for ProcessManager. 107 // Support for ProcessManager.
105 scoped_ptr<ChromeProcessManagerDelegate> process_manager_delegate_; 108 scoped_ptr<ChromeProcessManagerDelegate> process_manager_delegate_;
106 109
107 // Client for API implementations. 110 // Client for API implementations.
108 scoped_ptr<ChromeExtensionsAPIClient> api_client_; 111 scoped_ptr<ChromeExtensionsAPIClient> api_client_;
109 112
110 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_; 113 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_;
111 114
112 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); 115 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
113 }; 116 };
114 117
115 } // namespace extensions 118 } // namespace extensions
116 119
117 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 120 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698