| 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 std::string GetUserIdHashFromContext( |
| 40 content::BrowserContext* context) override; |
| 39 bool IsGuestSession(content::BrowserContext* context) const override; | 41 bool IsGuestSession(content::BrowserContext* context) const override; |
| 40 bool IsExtensionIncognitoEnabled( | 42 bool IsExtensionIncognitoEnabled( |
| 41 const std::string& extension_id, | 43 const std::string& extension_id, |
| 42 content::BrowserContext* context) const override; | 44 content::BrowserContext* context) const override; |
| 43 bool CanExtensionCrossIncognito( | 45 bool CanExtensionCrossIncognito( |
| 44 const Extension* extension, | 46 const Extension* extension, |
| 45 content::BrowserContext* context) const override; | 47 content::BrowserContext* context) const override; |
| 46 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( | 48 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( |
| 47 net::URLRequest* request, | 49 net::URLRequest* request, |
| 48 net::NetworkDelegate* network_delegate, | 50 net::NetworkDelegate* network_delegate, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 97 |
| 96 // The extension cache used for download and installation. | 98 // The extension cache used for download and installation. |
| 97 scoped_ptr<ExtensionCache> extension_cache_; | 99 scoped_ptr<ExtensionCache> extension_cache_; |
| 98 | 100 |
| 99 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 101 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
| 100 }; | 102 }; |
| 101 | 103 |
| 102 } // namespace extensions | 104 } // namespace extensions |
| 103 | 105 |
| 104 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 106 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |