Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 2907493002: ChromeOS: Per-user time zone: refactor tests first. (Closed)
Patch Set: Fix debug build Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 content::MockResourceContext* resource_context_; 435 content::MockResourceContext* resource_context_;
432 436
433 std::unique_ptr<policy::SchemaRegistryService> schema_registry_service_; 437 std::unique_ptr<policy::SchemaRegistryService> schema_registry_service_;
434 std::unique_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; 438 std::unique_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
435 439
436 // Weak pointer to a delegate for indicating that a profile was created. 440 // Weak pointer to a delegate for indicating that a profile was created.
437 Delegate* delegate_; 441 Delegate* delegate_;
438 442
439 std::string profile_name_; 443 std::string profile_name_;
440 444
445 #if defined(OS_CHROMEOS)
446 std::unique_ptr<chromeos::ScopedCrosSettingsTestHelper>
447 scoped_cros_settings_test_helper_;
448 #endif // defined(OS_CHROMEOS)
449
441 std::unique_ptr<policy::PolicyService> policy_service_; 450 std::unique_ptr<policy::PolicyService> policy_service_;
442 }; 451 };
443 452
444 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 453 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698