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; | |
48 virtual bool IsExtensionIncognitoEnabled( | 47 virtual bool IsExtensionIncognitoEnabled( |
49 const std::string& extension_id, | 48 const std::string& extension_id, |
50 content::BrowserContext* context) const OVERRIDE; | 49 content::BrowserContext* context) const OVERRIDE; |
51 virtual bool CanExtensionCrossIncognito( | 50 virtual bool CanExtensionCrossIncognito( |
52 const extensions::Extension* extension, | 51 const extensions::Extension* extension, |
53 content::BrowserContext* context) const OVERRIDE; | 52 content::BrowserContext* context) const OVERRIDE; |
54 virtual PrefService* GetPrefServiceForContext( | 53 virtual PrefService* GetPrefServiceForContext( |
55 content::BrowserContext* context) OVERRIDE; | 54 content::BrowserContext* context) OVERRIDE; |
56 virtual bool DeferLoadingBackgroundHosts( | 55 virtual bool DeferLoadingBackgroundHosts( |
57 content::BrowserContext* context) const OVERRIDE; | 56 content::BrowserContext* context) const OVERRIDE; |
(...skipping 17 matching lines...) Expand all Loading... |
75 | 74 |
76 // Observer for Chrome-specific notifications. | 75 // Observer for Chrome-specific notifications. |
77 ChromeNotificationObserver notification_observer_; | 76 ChromeNotificationObserver notification_observer_; |
78 | 77 |
79 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 78 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
80 }; | 79 }; |
81 | 80 |
82 } // namespace extensions | 81 } // namespace extensions |
83 | 82 |
84 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 83 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |