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

Side by Side Diff: extensions/browser/test_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 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 <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 content::BrowserContext* context) override; 83 content::BrowserContext* context) override;
84 void GetEarlyExtensionPrefsObservers( 84 void GetEarlyExtensionPrefsObservers(
85 content::BrowserContext* context, 85 content::BrowserContext* context,
86 std::vector<ExtensionPrefsObserver*>* observers) const override; 86 std::vector<ExtensionPrefsObserver*>* observers) const override;
87 ProcessManagerDelegate* GetProcessManagerDelegate() const override; 87 ProcessManagerDelegate* GetProcessManagerDelegate() const override;
88 std::unique_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override; 88 std::unique_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override;
89 bool DidVersionUpdate(content::BrowserContext* context) override; 89 bool DidVersionUpdate(content::BrowserContext* context) override;
90 void PermitExternalProtocolHandler() override; 90 void PermitExternalProtocolHandler() override;
91 bool IsRunningInForcedAppMode() override; 91 bool IsRunningInForcedAppMode() override;
92 bool IsLoggedInAsPublicAccount() override; 92 bool IsLoggedInAsPublicAccount() override;
93 ApiActivityMonitor* GetApiActivityMonitor(
94 content::BrowserContext* context) override;
95 ExtensionSystemProvider* GetExtensionSystemFactory() override; 93 ExtensionSystemProvider* GetExtensionSystemFactory() override;
96 void RegisterExtensionFunctions( 94 void RegisterExtensionFunctions(
97 ExtensionFunctionRegistry* registry) const override; 95 ExtensionFunctionRegistry* registry) const override;
98 void RegisterMojoServices(content::RenderFrameHost* render_frame_host, 96 void RegisterMojoServices(content::RenderFrameHost* render_frame_host,
99 const Extension* extension) const override; 97 const Extension* extension) const override;
100 std::unique_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 98 std::unique_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
101 content::BrowserContext* context) const override; 99 content::BrowserContext* context) const override;
102 const ComponentExtensionResourceManager* 100 const ComponentExtensionResourceManager*
103 GetComponentExtensionResourceManager() override; 101 GetComponentExtensionResourceManager() override;
104 void BroadcastEventToRenderers( 102 void BroadcastEventToRenderers(
(...skipping 22 matching lines...) Expand all
127 std::unique_ptr<ExtensionCache> extension_cache_; 125 std::unique_ptr<ExtensionCache> extension_cache_;
128 126
129 base::Callback<update_client::UpdateClient*(void)> update_client_factory_; 127 base::Callback<update_client::UpdateClient*(void)> update_client_factory_;
130 128
131 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 129 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
132 }; 130 };
133 131
134 } // namespace extensions 132 } // namespace extensions
135 133
136 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 134 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/extensions_browser_client.h ('k') | extensions/browser/test_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698