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

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

Issue 2849823003: ChromeOS: implement per-user time zone preferences. (Closed)
Patch Set: Try remove g_browser_process check Created 3 years, 7 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
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/cros_settings.h"
24 #include "chrome/browser/chromeos/settings/device_settings_service.h"
25 #endif
26
22 class BrowserContextDependencyManager; 27 class BrowserContextDependencyManager;
23 class ExtensionSpecialStoragePolicy; 28 class ExtensionSpecialStoragePolicy;
24 class HostContentSettingsMap; 29 class HostContentSettingsMap;
25 30
26 namespace content { 31 namespace content {
27 class MockResourceContext; 32 class MockResourceContext;
28 class SSLHostStateDelegate; 33 class SSLHostStateDelegate;
29 class ZoomLevelDelegate; 34 class ZoomLevelDelegate;
30 } 35 }
31 36
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 content::MockResourceContext* resource_context_; 428 content::MockResourceContext* resource_context_;
424 429
425 std::unique_ptr<policy::SchemaRegistryService> schema_registry_service_; 430 std::unique_ptr<policy::SchemaRegistryService> schema_registry_service_;
426 std::unique_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; 431 std::unique_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
427 432
428 // Weak pointer to a delegate for indicating that a profile was created. 433 // Weak pointer to a delegate for indicating that a profile was created.
429 Delegate* delegate_; 434 Delegate* delegate_;
430 435
431 std::string profile_name_; 436 std::string profile_name_;
432 437
438 #if defined(OS_CHROMEOS)
439 std::unique_ptr<chromeos::ScopedTestDeviceSettingsService>
440 test_device_settings_;
441 std::unique_ptr<chromeos::ScopedTestCrosSettings> test_cros_settings_;
442 #endif // defined(OS_CHROMEOS)
443
433 std::unique_ptr<policy::PolicyService> policy_service_; 444 std::unique_ptr<policy::PolicyService> policy_service_;
434 }; 445 };
435 446
436 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 447 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698