| 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 std::string GetUserIdHashFromContext( |
| 56 content::BrowserContext* context) override; |
| 55 bool IsGuestSession(content::BrowserContext* context) const override; | 57 bool IsGuestSession(content::BrowserContext* context) const override; |
| 56 bool IsExtensionIncognitoEnabled( | 58 bool IsExtensionIncognitoEnabled( |
| 57 const std::string& extension_id, | 59 const std::string& extension_id, |
| 58 content::BrowserContext* context) const override; | 60 content::BrowserContext* context) const override; |
| 59 bool CanExtensionCrossIncognito( | 61 bool CanExtensionCrossIncognito( |
| 60 const extensions::Extension* extension, | 62 const extensions::Extension* extension, |
| 61 content::BrowserContext* context) const override; | 63 content::BrowserContext* context) const override; |
| 62 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( | 64 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( |
| 63 net::URLRequest* request, | 65 net::URLRequest* request, |
| 64 net::NetworkDelegate* network_delegate, | 66 net::NetworkDelegate* network_delegate, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_; | 113 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_; |
| 112 | 114 |
| 113 scoped_ptr<ExtensionCache> extension_cache_; | 115 scoped_ptr<ExtensionCache> extension_cache_; |
| 114 | 116 |
| 115 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 117 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
| 116 }; | 118 }; |
| 117 | 119 |
| 118 } // namespace extensions | 120 } // namespace extensions |
| 119 | 121 |
| 120 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 122 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |