OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 scoped_ptr<ExtensionPrefs> extension_prefs_; | 376 scoped_ptr<ExtensionPrefs> extension_prefs_; |
377 | 377 |
378 scoped_ptr<ExtensionService> extension_service_; | 378 scoped_ptr<ExtensionService> extension_service_; |
379 | 379 |
380 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; | 380 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; |
381 | 381 |
382 scoped_refptr<ExtensionSpecialStoragePolicy> | 382 scoped_refptr<ExtensionSpecialStoragePolicy> |
383 extension_special_storage_policy_; | 383 extension_special_storage_policy_; |
384 | 384 |
385 // The proxy prefs tracker. | 385 // The proxy prefs tracker. |
386 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 386 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
387 | 387 |
388 // We use a temporary directory to store testing profile data. In a multi- | 388 // We use a temporary directory to store testing profile data. In a multi- |
389 // profile environment, this is invalid and the directory is managed by the | 389 // profile environment, this is invalid and the directory is managed by the |
390 // TestingProfileManager. | 390 // TestingProfileManager. |
391 ScopedTempDir temp_dir_; | 391 ScopedTempDir temp_dir_; |
392 // The path to this profile. This will be valid in either of the two above | 392 // The path to this profile. This will be valid in either of the two above |
393 // cases. | 393 // cases. |
394 FilePath profile_path_; | 394 FilePath profile_path_; |
395 | 395 |
396 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 396 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
397 | 397 |
398 // We keep a weak pointer to the dependency manager we want to notify on our | 398 // We keep a weak pointer to the dependency manager we want to notify on our |
399 // death. Defaults to the Singleton implementation but overridable for | 399 // death. Defaults to the Singleton implementation but overridable for |
400 // testing. | 400 // testing. |
401 ProfileDependencyManager* profile_dependency_manager_; | 401 ProfileDependencyManager* profile_dependency_manager_; |
402 | 402 |
403 scoped_refptr<ChromeAppCacheService> appcache_service_; | 403 scoped_refptr<ChromeAppCacheService> appcache_service_; |
404 | 404 |
405 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 405 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
406 scoped_refptr<quota::QuotaManager> quota_manager_; | 406 scoped_refptr<quota::QuotaManager> quota_manager_; |
407 }; | 407 }; |
408 | 408 |
409 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 409 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |