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 | |
26 class BrowserContextDependencyManager; | 22 class BrowserContextDependencyManager; |
27 class ExtensionSpecialStoragePolicy; | 23 class ExtensionSpecialStoragePolicy; |
28 class HostContentSettingsMap; | 24 class HostContentSettingsMap; |
29 | 25 |
30 namespace content { | 26 namespace content { |
31 class MockResourceContext; | 27 class MockResourceContext; |
32 class SSLHostStateDelegate; | 28 class SSLHostStateDelegate; |
33 #if !defined(OS_ANDROID) | 29 #if !defined(OS_ANDROID) |
34 class ZoomLevelDelegate; | 30 class ZoomLevelDelegate; |
35 #endif // !defined(OS_ANDROID) | 31 #endif // !defined(OS_ANDROID) |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 content::MockResourceContext* resource_context_; | 431 content::MockResourceContext* resource_context_; |
436 | 432 |
437 std::unique_ptr<policy::SchemaRegistryService> schema_registry_service_; | 433 std::unique_ptr<policy::SchemaRegistryService> schema_registry_service_; |
438 std::unique_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; | 434 std::unique_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; |
439 | 435 |
440 // Weak pointer to a delegate for indicating that a profile was created. | 436 // Weak pointer to a delegate for indicating that a profile was created. |
441 Delegate* delegate_; | 437 Delegate* delegate_; |
442 | 438 |
443 std::string profile_name_; | 439 std::string profile_name_; |
444 | 440 |
445 #if defined(OS_CHROMEOS) | |
446 std::unique_ptr<chromeos::ScopedCrosSettingsTestHelper> | |
447 scoped_cros_settings_test_helper_; | |
448 #endif // defined(OS_CHROMEOS) | |
449 | |
450 std::unique_ptr<policy::PolicyService> policy_service_; | 441 std::unique_ptr<policy::PolicyService> policy_service_; |
451 }; | 442 }; |
452 | 443 |
453 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 444 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |