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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 2624843003: Add support for cellular geolocation (Closed)
Patch Set: Update device tests to use correct dict key Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 57affc5fa9d6281447a296bfee4f4834c8bd5a63..8dc9105f454d4772ff476737e1aa5de8bccec2a0 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -4291,6 +4291,11 @@ IN_PROC_BROWSER_TEST_F(ChromeOSPolicyTest, SystemTimezoneAutomaticDetection) {
EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, true));
EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests());
+ policy_value = 4 /* SEND_ALL_LOCATION_INFO */;
+ SetAndTestSystemTimezoneAutomaticDetectionPolicy(policy_value);
+ EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, true));
+ EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests());
+
policy_value = 1 /* DISABLED */;
SetAndTestSystemTimezoneAutomaticDetectionPolicy(policy_value);
EXPECT_TRUE(CheckResolveTimezoneByGeolocation(false, true));
« no previous file with comments | « chrome/browser/chromeos/system/timezone_resolver_manager.cc ('k') | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698