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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/files/scoped_temp_dir.h" | 13 #include "base/files/scoped_temp_dir.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
18 #include "components/domain_reliability/clear_mode.h" | 18 #include "components/domain_reliability/clear_mode.h" |
19 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 19 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
20 #include "extensions/features/features.h" | 20 #include "extensions/features/features.h" |
21 | 21 |
| 22 #if defined(OS_CHROMEOS) |
| 23 #include "chrome/browser/chromeos/settings/scoped_cros_settings_test_helper.h" |
| 24 #endif |
| 25 |
22 class BrowserContextDependencyManager; | 26 class BrowserContextDependencyManager; |
23 class ExtensionSpecialStoragePolicy; | 27 class ExtensionSpecialStoragePolicy; |
24 class HostContentSettingsMap; | 28 class HostContentSettingsMap; |
25 | 29 |
26 namespace content { | 30 namespace content { |
27 class MockResourceContext; | 31 class MockResourceContext; |
28 class SSLHostStateDelegate; | 32 class SSLHostStateDelegate; |
29 #if !defined(OS_ANDROID) | 33 #if !defined(OS_ANDROID) |
30 class ZoomLevelDelegate; | 34 class ZoomLevelDelegate; |
31 #endif // !defined(OS_ANDROID) | 35 #endif // !defined(OS_ANDROID) |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 content::MockResourceContext* resource_context_; | 433 content::MockResourceContext* resource_context_; |
430 | 434 |
431 std::unique_ptr<policy::SchemaRegistryService> schema_registry_service_; | 435 std::unique_ptr<policy::SchemaRegistryService> schema_registry_service_; |
432 std::unique_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; | 436 std::unique_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; |
433 | 437 |
434 // Weak pointer to a delegate for indicating that a profile was created. | 438 // Weak pointer to a delegate for indicating that a profile was created. |
435 Delegate* delegate_; | 439 Delegate* delegate_; |
436 | 440 |
437 std::string profile_name_; | 441 std::string profile_name_; |
438 | 442 |
| 443 #if defined(OS_CHROMEOS) |
| 444 std::unique_ptr<chromeos::ScopedCrosSettingsTestHelper> |
| 445 scoped_cros_settings_test_helper_; |
| 446 #endif // defined(OS_CHROMEOS) |
| 447 |
439 std::unique_ptr<policy::PolicyService> policy_service_; | 448 std::unique_ptr<policy::PolicyService> policy_service_; |
440 }; | 449 }; |
441 | 450 |
442 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 451 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |