OLD | NEW |
---|---|
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 Loading... | |
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 associted with Chrome OS lock screen. | |
meacer
2017/06/09 21:32:34
associted -> associated
tbarzic
2017/06/09 21:47:35
Done.
| |
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_ |
OLD | NEW |