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

Side by Side Diff: extensions/shell/browser/shell_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
« no previous file with comments | « extensions/extensions.gypi ('k') | extensions/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 content::BrowserContext* context) override; 65 content::BrowserContext* context) override;
66 void GetEarlyExtensionPrefsObservers( 66 void GetEarlyExtensionPrefsObservers(
67 content::BrowserContext* context, 67 content::BrowserContext* context,
68 std::vector<ExtensionPrefsObserver*>* observers) const override; 68 std::vector<ExtensionPrefsObserver*>* observers) const override;
69 ProcessManagerDelegate* GetProcessManagerDelegate() const override; 69 ProcessManagerDelegate* GetProcessManagerDelegate() const override;
70 std::unique_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override; 70 std::unique_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override;
71 bool DidVersionUpdate(content::BrowserContext* context) override; 71 bool DidVersionUpdate(content::BrowserContext* context) override;
72 void PermitExternalProtocolHandler() override; 72 void PermitExternalProtocolHandler() override;
73 bool IsRunningInForcedAppMode() override; 73 bool IsRunningInForcedAppMode() override;
74 bool IsLoggedInAsPublicAccount() override; 74 bool IsLoggedInAsPublicAccount() override;
75 ApiActivityMonitor* GetApiActivityMonitor(
76 content::BrowserContext* context) override;
77 ExtensionSystemProvider* GetExtensionSystemFactory() override; 75 ExtensionSystemProvider* GetExtensionSystemFactory() override;
78 void RegisterExtensionFunctions( 76 void RegisterExtensionFunctions(
79 ExtensionFunctionRegistry* registry) const override; 77 ExtensionFunctionRegistry* registry) const override;
80 void RegisterMojoServices(content::RenderFrameHost* render_frame_host, 78 void RegisterMojoServices(content::RenderFrameHost* render_frame_host,
81 const Extension* extension) const override; 79 const Extension* extension) const override;
82 std::unique_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 80 std::unique_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
83 content::BrowserContext* context) const override; 81 content::BrowserContext* context) const override;
84 const ComponentExtensionResourceManager* 82 const ComponentExtensionResourceManager*
85 GetComponentExtensionResourceManager() override; 83 GetComponentExtensionResourceManager() override;
86 void BroadcastEventToRenderers( 84 void BroadcastEventToRenderers(
(...skipping 22 matching lines...) Expand all
109 107
110 // The extension cache used for download and installation. 108 // The extension cache used for download and installation.
111 std::unique_ptr<ExtensionCache> extension_cache_; 109 std::unique_ptr<ExtensionCache> extension_cache_;
112 110
113 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 111 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
114 }; 112 };
115 113
116 } // namespace extensions 114 } // namespace extensions
117 115
118 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 116 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/extensions.gypi ('k') | extensions/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698