OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TEST_BASE_TESTING_PROFILE_H_ | 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ |
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ | 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 11 matching lines...) Expand all Loading... |
22 class ExtensionSpecialStoragePolicy; | 22 class ExtensionSpecialStoragePolicy; |
23 class HostContentSettingsMap; | 23 class HostContentSettingsMap; |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 class MockResourceContext; | 26 class MockResourceContext; |
27 class SSLHostStateDelegate; | 27 class SSLHostStateDelegate; |
28 class ZoomLevelDelegate; | 28 class ZoomLevelDelegate; |
29 } | 29 } |
30 | 30 |
31 namespace net { | 31 namespace net { |
32 class CookieMonster; | 32 class CookieStore; |
33 class URLRequestContextGetter; | 33 class URLRequestContextGetter; |
34 } | 34 } |
35 | 35 |
36 namespace policy { | 36 namespace policy { |
37 class PolicyService; | 37 class PolicyService; |
38 class ProfilePolicyConnector; | 38 class ProfilePolicyConnector; |
39 class SchemaRegistryService; | 39 class SchemaRegistryService; |
40 } | 40 } |
41 | 41 |
42 namespace storage { | 42 namespace storage { |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 bool IsChild() const override; | 262 bool IsChild() const override; |
263 bool IsLegacySupervised() const override; | 263 bool IsLegacySupervised() const override; |
264 #if defined(ENABLE_EXTENSIONS) | 264 #if defined(ENABLE_EXTENSIONS) |
265 void SetExtensionSpecialStoragePolicy( | 265 void SetExtensionSpecialStoragePolicy( |
266 ExtensionSpecialStoragePolicy* extension_special_storage_policy); | 266 ExtensionSpecialStoragePolicy* extension_special_storage_policy); |
267 #endif | 267 #endif |
268 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; | 268 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; |
269 // TODO(ajwong): Remove this API in favor of directly retrieving the | 269 // TODO(ajwong): Remove this API in favor of directly retrieving the |
270 // CookieStore from the StoragePartition after ExtensionURLRequestContext | 270 // CookieStore from the StoragePartition after ExtensionURLRequestContext |
271 // has been removed. | 271 // has been removed. |
272 net::CookieMonster* GetCookieMonster(); | 272 net::CookieStore* GetCookieStore(); |
273 | 273 |
274 PrefService* GetPrefs() override; | 274 PrefService* GetPrefs() override; |
275 const PrefService* GetPrefs() const override; | 275 const PrefService* GetPrefs() const override; |
276 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; | 276 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; |
277 | 277 |
278 net::URLRequestContextGetter* GetMediaRequestContext() override; | 278 net::URLRequestContextGetter* GetMediaRequestContext() override; |
279 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 279 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
280 int renderer_child_id) override; | 280 int renderer_child_id) override; |
281 net::URLRequestContextGetter* GetRequestContextForExtensions() override; | 281 net::URLRequestContextGetter* GetRequestContextForExtensions() override; |
282 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 282 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 | 409 |
410 // Weak pointer to a delegate for indicating that a profile was created. | 410 // Weak pointer to a delegate for indicating that a profile was created. |
411 Delegate* delegate_; | 411 Delegate* delegate_; |
412 | 412 |
413 std::string profile_name_; | 413 std::string profile_name_; |
414 | 414 |
415 scoped_ptr<policy::PolicyService> policy_service_; | 415 scoped_ptr<policy::PolicyService> policy_service_; |
416 }; | 416 }; |
417 | 417 |
418 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 418 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |