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

Side by Side Diff: chrome/browser/extensions/chrome_extensions_browser_client.h

Issue 2077723002: [Extensions] Short-circuit activity logging if not enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add Test Created 4 years, 6 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 content::BrowserContext* context) override; 80 content::BrowserContext* context) override;
81 void GetEarlyExtensionPrefsObservers( 81 void GetEarlyExtensionPrefsObservers(
82 content::BrowserContext* context, 82 content::BrowserContext* context,
83 std::vector<ExtensionPrefsObserver*>* observers) const override; 83 std::vector<ExtensionPrefsObserver*>* observers) const override;
84 ProcessManagerDelegate* GetProcessManagerDelegate() const override; 84 ProcessManagerDelegate* GetProcessManagerDelegate() const override;
85 std::unique_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override; 85 std::unique_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override;
86 bool DidVersionUpdate(content::BrowserContext* context) override; 86 bool DidVersionUpdate(content::BrowserContext* context) override;
87 void PermitExternalProtocolHandler() override; 87 void PermitExternalProtocolHandler() override;
88 bool IsRunningInForcedAppMode() override; 88 bool IsRunningInForcedAppMode() override;
89 bool IsLoggedInAsPublicAccount() override; 89 bool IsLoggedInAsPublicAccount() override;
90 ApiActivityMonitor* GetApiActivityMonitor(
91 content::BrowserContext* context) override;
92 ExtensionSystemProvider* GetExtensionSystemFactory() override; 90 ExtensionSystemProvider* GetExtensionSystemFactory() override;
93 void RegisterExtensionFunctions( 91 void RegisterExtensionFunctions(
94 ExtensionFunctionRegistry* registry) const override; 92 ExtensionFunctionRegistry* registry) const override;
95 void RegisterMojoServices(content::RenderFrameHost* render_frame_host, 93 void RegisterMojoServices(content::RenderFrameHost* render_frame_host,
96 const Extension* extension) const override; 94 const Extension* extension) const override;
97 std::unique_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 95 std::unique_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
98 content::BrowserContext* context) const override; 96 content::BrowserContext* context) const override;
99 const ComponentExtensionResourceManager* 97 const ComponentExtensionResourceManager*
100 GetComponentExtensionResourceManager() override; 98 GetComponentExtensionResourceManager() override;
101 void BroadcastEventToRenderers( 99 void BroadcastEventToRenderers(
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_; 137 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_;
140 138
141 std::unique_ptr<ExtensionCache> extension_cache_; 139 std::unique_ptr<ExtensionCache> extension_cache_;
142 140
143 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); 141 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
144 }; 142 };
145 143
146 } // namespace extensions 144 } // namespace extensions
147 145
148 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 146 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698