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

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

Issue 2089333002: [Extensions] Add renderer-side logic to short circuit activity logging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void AttachExtensionTaskManagerTag(content::WebContents* web_contents, 114 void AttachExtensionTaskManagerTag(content::WebContents* web_contents,
115 ViewType view_type) override; 115 ViewType view_type) override;
116 scoped_refptr<update_client::UpdateClient> CreateUpdateClient( 116 scoped_refptr<update_client::UpdateClient> CreateUpdateClient(
117 content::BrowserContext* context) override; 117 content::BrowserContext* context) override;
118 std::unique_ptr<ExtensionApiFrameIdMapHelper> 118 std::unique_ptr<ExtensionApiFrameIdMapHelper>
119 CreateExtensionApiFrameIdMapHelper( 119 CreateExtensionApiFrameIdMapHelper(
120 ExtensionApiFrameIdMap* map) override; 120 ExtensionApiFrameIdMap* map) override;
121 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( 121 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser(
122 content::RenderFrameHost* frame, 122 content::RenderFrameHost* frame,
123 const content::BluetoothChooser::EventHandler& event_handler) override; 123 const content::BluetoothChooser::EventHandler& event_handler) override;
124 bool IsActivityLoggingEnabled(content::BrowserContext* context) override;
124 125
125 private: 126 private:
126 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; 127 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>;
127 128
128 // Observer for Chrome-specific notifications. 129 // Observer for Chrome-specific notifications.
129 ChromeNotificationObserver notification_observer_; 130 ChromeNotificationObserver notification_observer_;
130 131
131 // Support for ProcessManager. 132 // Support for ProcessManager.
132 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_; 133 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_;
133 134
134 // Client for API implementations. 135 // Client for API implementations.
135 std::unique_ptr<ChromeExtensionsAPIClient> api_client_; 136 std::unique_ptr<ChromeExtensionsAPIClient> api_client_;
136 137
137 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_; 138 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_;
138 139
139 std::unique_ptr<ExtensionCache> extension_cache_; 140 std::unique_ptr<ExtensionCache> extension_cache_;
140 141
141 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); 142 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
142 }; 143 };
143 144
144 } // namespace extensions 145 } // namespace extensions
145 146
146 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 147 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698