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

Side by Side Diff: extensions/browser/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, 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 EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 virtual scoped_refptr<update_client::UpdateClient> CreateUpdateClient( 245 virtual scoped_refptr<update_client::UpdateClient> CreateUpdateClient(
246 content::BrowserContext* context); 246 content::BrowserContext* context);
247 247
248 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper> 248 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper>
249 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map); 249 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map);
250 250
251 virtual std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( 251 virtual std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser(
252 content::RenderFrameHost* frame, 252 content::RenderFrameHost* frame,
253 const content::BluetoothChooser::EventHandler& event_handler); 253 const content::BluetoothChooser::EventHandler& event_handler);
254 254
255 // Returns true if activity logging is enabled for the given |context|.
256 virtual bool IsActivityLoggingEnabled(content::BrowserContext* context);
257
255 // Returns the single instance of |this|. 258 // Returns the single instance of |this|.
256 static ExtensionsBrowserClient* Get(); 259 static ExtensionsBrowserClient* Get();
257 260
258 // Initialize the single instance. 261 // Initialize the single instance.
259 static void Set(ExtensionsBrowserClient* client); 262 static void Set(ExtensionsBrowserClient* client);
260 }; 263 };
261 264
262 } // namespace extensions 265 } // namespace extensions
263 266
264 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ 267 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698