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

Side by Side Diff: extensions/browser/extensions_browser_client.h

Issue 2892403002: Introduce lock screen app context to extension features (Closed)
Patch Set: . Created 3 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 // Returns true if activity logging is enabled for the given |context|. 257 // Returns true if activity logging is enabled for the given |context|.
258 virtual bool IsActivityLoggingEnabled(content::BrowserContext* context); 258 virtual bool IsActivityLoggingEnabled(content::BrowserContext* context);
259 259
260 virtual ExtensionNavigationUIData* GetExtensionNavigationUIData( 260 virtual ExtensionNavigationUIData* GetExtensionNavigationUIData(
261 net::URLRequest* request); 261 net::URLRequest* request);
262 262
263 // Returns a delegate that provides kiosk mode functionality. 263 // Returns a delegate that provides kiosk mode functionality.
264 virtual KioskDelegate* GetKioskDelegate() = 0; 264 virtual KioskDelegate* GetKioskDelegate() = 0;
265 265
266 // Whether the browser context is associated with Chrome OS lock screen.
267 virtual bool IsLockScreenContext(content::BrowserContext* context) = 0;
268
266 // Returns the single instance of |this|. 269 // Returns the single instance of |this|.
267 static ExtensionsBrowserClient* Get(); 270 static ExtensionsBrowserClient* Get();
268 271
269 // Initialize the single instance. 272 // Initialize the single instance.
270 static void Set(ExtensionsBrowserClient* client); 273 static void Set(ExtensionsBrowserClient* client);
271 }; 274 };
272 275
273 } // namespace extensions 276 } // namespace extensions
274 277
275 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ 278 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/chrome_extensions_renderer_client.cc ('k') | extensions/browser/info_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698