| 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_TESTING_PROFILE_H_ | 5 #ifndef CHROME_TEST_TESTING_PROFILE_H_ | 
| 6 #define CHROME_TEST_TESTING_PROFILE_H_ | 6 #define CHROME_TEST_TESTING_PROFILE_H_ | 
| 7 #pragma once | 7 #pragma once | 
| 8 | 8 | 
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" | 
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" | 
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 375   // invoked. | 375   // invoked. | 
| 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   // FileSystemContext.  Created lazily by GetFileSystemContext(). | 
|  | 386   scoped_refptr<fileapi::FileSystemContext> file_system_context_; | 
|  | 387 | 
|  | 388   // QuotaManager.  Created lazily by GetQuotaManager(). | 
|  | 389   scoped_refptr<quota::QuotaManager> quota_manager_; | 
|  | 390 | 
| 385   // The proxy prefs tracker. | 391   // The proxy prefs tracker. | 
| 386   scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 392   scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 
| 387 | 393 | 
| 388   // We use a temporary directory to store testing profile data. | 394   // We use a temporary directory to store testing profile data. | 
| 389   ScopedTempDir temp_dir_; | 395   ScopedTempDir temp_dir_; | 
| 390 | 396 | 
| 391   scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 397   scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 
| 392 | 398 | 
| 393   scoped_ptr<prerender::PrerenderManager> prerender_manager_; | 399   scoped_ptr<prerender::PrerenderManager> prerender_manager_; | 
| 394 | 400 | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 406   explicit DerivedTestingProfile(Profile* profile); | 412   explicit DerivedTestingProfile(Profile* profile); | 
| 407   virtual ~DerivedTestingProfile(); | 413   virtual ~DerivedTestingProfile(); | 
| 408 | 414 | 
| 409   virtual ProfileId GetRuntimeId(); | 415   virtual ProfileId GetRuntimeId(); | 
| 410 | 416 | 
| 411  protected: | 417  protected: | 
| 412   Profile* original_profile_; | 418   Profile* original_profile_; | 
| 413 }; | 419 }; | 
| 414 | 420 | 
| 415 #endif  // CHROME_TEST_TESTING_PROFILE_H_ | 421 #endif  // CHROME_TEST_TESTING_PROFILE_H_ | 
| OLD | NEW | 
|---|