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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 ExtensionSpecialStoragePolicy* extension_special_storage_policy); | 269 ExtensionSpecialStoragePolicy* extension_special_storage_policy); |
270 #endif | 270 #endif |
271 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; | 271 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; |
272 // TODO(ajwong): Remove this API in favor of directly retrieving the | 272 // TODO(ajwong): Remove this API in favor of directly retrieving the |
273 // CookieStore from the StoragePartition after ExtensionURLRequestContext | 273 // CookieStore from the StoragePartition after ExtensionURLRequestContext |
274 // has been removed. | 274 // has been removed. |
275 net::CookieMonster* GetCookieMonster(); | 275 net::CookieMonster* GetCookieMonster(); |
276 | 276 |
277 PrefService* GetPrefs() override; | 277 PrefService* GetPrefs() override; |
278 const PrefService* GetPrefs() const override; | 278 const PrefService* GetPrefs() const override; |
| 279 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; |
279 | 280 |
280 net::URLRequestContextGetter* GetMediaRequestContext() override; | 281 net::URLRequestContextGetter* GetMediaRequestContext() override; |
281 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 282 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
282 int renderer_child_id) override; | 283 int renderer_child_id) override; |
283 net::URLRequestContextGetter* GetRequestContextForExtensions() override; | 284 net::URLRequestContextGetter* GetRequestContextForExtensions() override; |
284 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 285 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
285 const base::FilePath& partition_path, | 286 const base::FilePath& partition_path, |
286 bool in_memory) override; | 287 bool in_memory) override; |
287 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 288 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
288 const base::FilePath& partition_path, | 289 const base::FilePath& partition_path, |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 | 406 |
406 // Weak pointer to a delegate for indicating that a profile was created. | 407 // Weak pointer to a delegate for indicating that a profile was created. |
407 Delegate* delegate_; | 408 Delegate* delegate_; |
408 | 409 |
409 std::string profile_name_; | 410 std::string profile_name_; |
410 | 411 |
411 scoped_ptr<policy::PolicyService> policy_service_; | 412 scoped_ptr<policy::PolicyService> policy_service_; |
412 }; | 413 }; |
413 | 414 |
414 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 415 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |