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_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ |
6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define EXTENSIONS_BROWSER_TEST_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 #include "extensions/browser/updater/extension_cache.h" | 10 #include "extensions/browser/updater/extension_cache.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 bool AreExtensionsDisabled(const base::CommandLine& command_line, | 38 bool AreExtensionsDisabled(const base::CommandLine& command_line, |
39 content::BrowserContext* context) override; | 39 content::BrowserContext* context) override; |
40 bool IsValidContext(content::BrowserContext* context) override; | 40 bool IsValidContext(content::BrowserContext* context) override; |
41 bool IsSameContext(content::BrowserContext* first, | 41 bool IsSameContext(content::BrowserContext* first, |
42 content::BrowserContext* second) override; | 42 content::BrowserContext* second) override; |
43 bool HasOffTheRecordContext(content::BrowserContext* context) override; | 43 bool HasOffTheRecordContext(content::BrowserContext* context) override; |
44 content::BrowserContext* GetOffTheRecordContext( | 44 content::BrowserContext* GetOffTheRecordContext( |
45 content::BrowserContext* context) override; | 45 content::BrowserContext* context) override; |
46 content::BrowserContext* GetOriginalContext( | 46 content::BrowserContext* GetOriginalContext( |
47 content::BrowserContext* context) override; | 47 content::BrowserContext* context) override; |
| 48 std::string GetUserIdHashFromContext( |
| 49 content::BrowserContext* context) override; |
48 bool IsGuestSession(content::BrowserContext* context) const override; | 50 bool IsGuestSession(content::BrowserContext* context) const override; |
49 bool IsExtensionIncognitoEnabled( | 51 bool IsExtensionIncognitoEnabled( |
50 const std::string& extension_id, | 52 const std::string& extension_id, |
51 content::BrowserContext* context) const override; | 53 content::BrowserContext* context) const override; |
52 bool CanExtensionCrossIncognito( | 54 bool CanExtensionCrossIncognito( |
53 const extensions::Extension* extension, | 55 const extensions::Extension* extension, |
54 content::BrowserContext* context) const override; | 56 content::BrowserContext* context) const override; |
55 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( | 57 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( |
56 net::URLRequest* request, | 58 net::URLRequest* request, |
57 net::NetworkDelegate* network_delegate, | 59 net::NetworkDelegate* network_delegate, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 ExtensionSystemProvider* extension_system_factory_; | 102 ExtensionSystemProvider* extension_system_factory_; |
101 | 103 |
102 scoped_ptr<ExtensionCache> extension_cache_; | 104 scoped_ptr<ExtensionCache> extension_cache_; |
103 | 105 |
104 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); | 106 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); |
105 }; | 107 }; |
106 | 108 |
107 } // namespace extensions | 109 } // namespace extensions |
108 | 110 |
109 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ | 111 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |