| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "extensions/browser/extensions_browser_client.h" | 9 #include "extensions/browser/extensions_browser_client.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 bool AreExtensionsDisabled(const base::CommandLine& command_line, | 29 bool AreExtensionsDisabled(const base::CommandLine& command_line, |
| 30 content::BrowserContext* context) override; | 30 content::BrowserContext* context) override; |
| 31 bool IsValidContext(content::BrowserContext* context) override; | 31 bool IsValidContext(content::BrowserContext* context) override; |
| 32 bool IsSameContext(content::BrowserContext* first, | 32 bool IsSameContext(content::BrowserContext* first, |
| 33 content::BrowserContext* second) override; | 33 content::BrowserContext* second) override; |
| 34 bool HasOffTheRecordContext(content::BrowserContext* context) override; | 34 bool HasOffTheRecordContext(content::BrowserContext* context) override; |
| 35 content::BrowserContext* GetOffTheRecordContext( | 35 content::BrowserContext* GetOffTheRecordContext( |
| 36 content::BrowserContext* context) override; | 36 content::BrowserContext* context) override; |
| 37 content::BrowserContext* GetOriginalContext( | 37 content::BrowserContext* GetOriginalContext( |
| 38 content::BrowserContext* context) override; | 38 content::BrowserContext* context) override; |
| 39 #if defined(OS_CHROMEOS) |
| 40 std::string GetUserIdHashFromContext( |
| 41 content::BrowserContext* context) override; |
| 42 #endif |
| 39 bool IsGuestSession(content::BrowserContext* context) const override; | 43 bool IsGuestSession(content::BrowserContext* context) const override; |
| 40 bool IsExtensionIncognitoEnabled( | 44 bool IsExtensionIncognitoEnabled( |
| 41 const std::string& extension_id, | 45 const std::string& extension_id, |
| 42 content::BrowserContext* context) const override; | 46 content::BrowserContext* context) const override; |
| 43 bool CanExtensionCrossIncognito( | 47 bool CanExtensionCrossIncognito( |
| 44 const Extension* extension, | 48 const Extension* extension, |
| 45 content::BrowserContext* context) const override; | 49 content::BrowserContext* context) const override; |
| 46 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( | 50 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( |
| 47 net::URLRequest* request, | 51 net::URLRequest* request, |
| 48 net::NetworkDelegate* network_delegate, | 52 net::NetworkDelegate* network_delegate, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 99 |
| 96 // The extension cache used for download and installation. | 100 // The extension cache used for download and installation. |
| 97 scoped_ptr<ExtensionCache> extension_cache_; | 101 scoped_ptr<ExtensionCache> extension_cache_; |
| 98 | 102 |
| 99 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 103 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
| 100 }; | 104 }; |
| 101 | 105 |
| 102 } // namespace extensions | 106 } // namespace extensions |
| 103 | 107 |
| 104 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 108 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |