| 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 | 9 |
| 10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 void SetExtensionSpecialStoragePolicy( | 271 void SetExtensionSpecialStoragePolicy( |
| 272 ExtensionSpecialStoragePolicy* extension_special_storage_policy); | 272 ExtensionSpecialStoragePolicy* extension_special_storage_policy); |
| 273 #endif | 273 #endif |
| 274 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; | 274 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; |
| 275 // TODO(ajwong): Remove this API in favor of directly retrieving the | 275 // TODO(ajwong): Remove this API in favor of directly retrieving the |
| 276 // CookieStore from the StoragePartition after ExtensionURLRequestContext | 276 // CookieStore from the StoragePartition after ExtensionURLRequestContext |
| 277 // has been removed. | 277 // has been removed. |
| 278 net::CookieMonster* GetCookieMonster(); | 278 net::CookieMonster* GetCookieMonster(); |
| 279 | 279 |
| 280 PrefService* GetPrefs() override; | 280 PrefService* GetPrefs() override; |
| 281 | 281 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; |
| 282 history::TopSites* GetTopSites() override; | 282 history::TopSites* GetTopSites() override; |
| 283 history::TopSites* GetTopSitesWithoutCreating() override; | 283 history::TopSites* GetTopSitesWithoutCreating() override; |
| 284 | 284 |
| 285 net::URLRequestContextGetter* GetMediaRequestContext() override; | 285 net::URLRequestContextGetter* GetMediaRequestContext() override; |
| 286 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 286 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 287 int renderer_child_id) override; | 287 int renderer_child_id) override; |
| 288 net::URLRequestContextGetter* GetRequestContextForExtensions() override; | 288 net::URLRequestContextGetter* GetRequestContextForExtensions() override; |
| 289 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 289 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
| 290 const base::FilePath& partition_path, | 290 const base::FilePath& partition_path, |
| 291 bool in_memory) override; | 291 bool in_memory) override; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 | 415 |
| 416 // Weak pointer to a delegate for indicating that a profile was created. | 416 // Weak pointer to a delegate for indicating that a profile was created. |
| 417 Delegate* delegate_; | 417 Delegate* delegate_; |
| 418 | 418 |
| 419 std::string profile_name_; | 419 std::string profile_name_; |
| 420 | 420 |
| 421 scoped_ptr<policy::PolicyService> policy_service_; | 421 scoped_ptr<policy::PolicyService> policy_service_; |
| 422 }; | 422 }; |
| 423 | 423 |
| 424 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 424 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |