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