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

Side by Side Diff: chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc

Issue 2778143002: More pre-MD cleanup (Closed)
Patch Set: update c/b Created 3 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ash/common/login_status.h" 5 #include "ash/common/login_status.h"
6 #include "ash/common/system/date/date_default_view.h"
7 #include "ash/common/system/date/date_view.h" 6 #include "ash/common/system/date/date_view.h"
8 #include "ash/common/system/date/system_info_default_view.h" 7 #include "ash/common/system/date/system_info_default_view.h"
9 #include "ash/common/system/date/tray_system_info.h" 8 #include "ash/common/system/date/tray_system_info.h"
10 #include "ash/common/system/tray/system_tray.h" 9 #include "ash/common/system/tray/system_tray.h"
11 #include "ash/common/wm_shell.h" 10 #include "ash/common/wm_shell.h"
12 #include "ash/shell.h" 11 #include "ash/shell.h"
13 #include "base/command_line.h" 12 #include "base/command_line.h"
14 #include "base/location.h" 13 #include "base/location.h"
15 #include "base/macros.h" 14 #include "base/macros.h"
16 #include "base/run_loop.h" 15 #include "base/run_loop.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 EXPECT_TRUE(CrosSettings::Get()->GetBoolean(kSystemUse24HourClock, 176 EXPECT_TRUE(CrosSettings::Get()->GetBoolean(kSystemUse24HourClock,
178 &system_use_24hour_clock)); 177 &system_use_24hour_clock));
179 EXPECT_FALSE(system_use_24hour_clock); 178 EXPECT_FALSE(system_use_24hour_clock);
180 EXPECT_FALSE(SystemClockShouldUse24Hour()); 179 EXPECT_FALSE(SystemClockShouldUse24Hour());
181 EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayTimeHourType()); 180 EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayTimeHourType());
182 EXPECT_TRUE(TestPrimarySystemTrayHasDateDefaultView()); 181 EXPECT_TRUE(TestPrimarySystemTrayHasDateDefaultView());
183 EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayDateHourType()); 182 EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayDateHourType());
184 } 183 }
185 184
186 } // namespace chromeos 185 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/app/resources/locale_settings.grd ('k') | chrome/browser/chromeos/shutdown_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698