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 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 content::BrowserContext* context) OVERRIDE; | 37 content::BrowserContext* context) OVERRIDE; |
38 virtual bool IsValidContext(content::BrowserContext* context) OVERRIDE; | 38 virtual bool IsValidContext(content::BrowserContext* context) OVERRIDE; |
39 virtual bool IsSameContext(content::BrowserContext* first, | 39 virtual bool IsSameContext(content::BrowserContext* first, |
40 content::BrowserContext* second) OVERRIDE; | 40 content::BrowserContext* second) OVERRIDE; |
41 virtual bool HasOffTheRecordContext( | 41 virtual bool HasOffTheRecordContext( |
42 content::BrowserContext* context) OVERRIDE; | 42 content::BrowserContext* context) OVERRIDE; |
43 virtual content::BrowserContext* GetOffTheRecordContext( | 43 virtual content::BrowserContext* GetOffTheRecordContext( |
44 content::BrowserContext* context) OVERRIDE; | 44 content::BrowserContext* context) OVERRIDE; |
45 virtual content::BrowserContext* GetOriginalContext( | 45 virtual content::BrowserContext* GetOriginalContext( |
46 content::BrowserContext* context) OVERRIDE; | 46 content::BrowserContext* context) OVERRIDE; |
| 47 virtual bool IsGuestSession(content::BrowserContext* context) OVERRIDE; |
47 virtual bool IsExtensionIncognitoEnabled( | 48 virtual bool IsExtensionIncognitoEnabled( |
48 const std::string& extension_id, | 49 const std::string& extension_id, |
49 content::BrowserContext* context) const OVERRIDE; | 50 content::BrowserContext* context) const OVERRIDE; |
50 virtual bool CanExtensionCrossIncognito( | 51 virtual bool CanExtensionCrossIncognito( |
51 const extensions::Extension* extension, | 52 const extensions::Extension* extension, |
52 content::BrowserContext* context) const OVERRIDE; | 53 content::BrowserContext* context) const OVERRIDE; |
53 virtual PrefService* GetPrefServiceForContext( | 54 virtual PrefService* GetPrefServiceForContext( |
54 content::BrowserContext* context) OVERRIDE; | 55 content::BrowserContext* context) OVERRIDE; |
55 virtual bool DeferLoadingBackgroundHosts( | 56 virtual bool DeferLoadingBackgroundHosts( |
56 content::BrowserContext* context) const OVERRIDE; | 57 content::BrowserContext* context) const OVERRIDE; |
(...skipping 20 matching lines...) Expand all Loading... |
77 | 78 |
78 // Observer for Chrome-specific notifications. | 79 // Observer for Chrome-specific notifications. |
79 ChromeNotificationObserver notification_observer_; | 80 ChromeNotificationObserver notification_observer_; |
80 | 81 |
81 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 82 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
82 }; | 83 }; |
83 | 84 |
84 } // namespace extensions | 85 } // namespace extensions |
85 | 86 |
86 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 87 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |