| 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 <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 bool AreExtensionsDisabled(const base::CommandLine& command_line, | 45 bool AreExtensionsDisabled(const base::CommandLine& command_line, |
| 46 content::BrowserContext* context) override; | 46 content::BrowserContext* context) override; |
| 47 bool IsValidContext(content::BrowserContext* context) override; | 47 bool IsValidContext(content::BrowserContext* context) override; |
| 48 bool IsSameContext(content::BrowserContext* first, | 48 bool IsSameContext(content::BrowserContext* first, |
| 49 content::BrowserContext* second) override; | 49 content::BrowserContext* second) override; |
| 50 bool HasOffTheRecordContext(content::BrowserContext* context) override; | 50 bool HasOffTheRecordContext(content::BrowserContext* context) override; |
| 51 content::BrowserContext* GetOffTheRecordContext( | 51 content::BrowserContext* GetOffTheRecordContext( |
| 52 content::BrowserContext* context) override; | 52 content::BrowserContext* context) override; |
| 53 content::BrowserContext* GetOriginalContext( | 53 content::BrowserContext* GetOriginalContext( |
| 54 content::BrowserContext* context) override; | 54 content::BrowserContext* context) override; |
| 55 #if defined(OS_CHROMEOS) |
| 56 std::string GetUserIdHashFromContext( |
| 57 content::BrowserContext* context) override; |
| 58 #endif |
| 55 bool IsGuestSession(content::BrowserContext* context) const override; | 59 bool IsGuestSession(content::BrowserContext* context) const override; |
| 56 bool IsExtensionIncognitoEnabled( | 60 bool IsExtensionIncognitoEnabled( |
| 57 const std::string& extension_id, | 61 const std::string& extension_id, |
| 58 content::BrowserContext* context) const override; | 62 content::BrowserContext* context) const override; |
| 59 bool CanExtensionCrossIncognito( | 63 bool CanExtensionCrossIncognito( |
| 60 const extensions::Extension* extension, | 64 const extensions::Extension* extension, |
| 61 content::BrowserContext* context) const override; | 65 content::BrowserContext* context) const override; |
| 62 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( | 66 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( |
| 63 net::URLRequest* request, | 67 net::URLRequest* request, |
| 64 net::NetworkDelegate* network_delegate, | 68 net::NetworkDelegate* network_delegate, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_; | 115 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_; |
| 112 | 116 |
| 113 scoped_ptr<ExtensionCache> extension_cache_; | 117 scoped_ptr<ExtensionCache> extension_cache_; |
| 114 | 118 |
| 115 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 119 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
| 116 }; | 120 }; |
| 117 | 121 |
| 118 } // namespace extensions | 122 } // namespace extensions |
| 119 | 123 |
| 120 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 124 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |