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

Side by Side Diff: chrome/browser/chromeos/shutdown_policy_browsertest.cc

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: Created 3 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <memory> 5 #include <memory>
6 #include <string> 6 #include <string>
7 7
8 #include "ash/common/login_status.h" 8 #include "ash/login_status.h"
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "ash/strings/grit/ash_strings.h" 10 #include "ash/strings/grit/ash_strings.h"
11 #include "ash/system/date/date_default_view.h" 11 #include "ash/system/date/date_default_view.h"
12 #include "ash/system/date/tray_date.h" 12 #include "ash/system/date/tray_date.h"
13 #include "ash/system/tiles/tiles_default_view.h" 13 #include "ash/system/tiles/tiles_default_view.h"
14 #include "ash/system/tiles/tray_tiles.h" 14 #include "ash/system/tiles/tray_tiles.h"
15 #include "ash/system/tray/system_tray.h" 15 #include "ash/system/tray/system_tray.h"
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "base/location.h" 17 #include "base/location.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 PrepareAndRunScript("restart-header-bar-item", false); 335 PrepareAndRunScript("restart-header-bar-item", false);
336 PrepareAndRunScript("shutdown-header-bar-item", true); 336 PrepareAndRunScript("shutdown-header-bar-item", true);
337 337
338 UpdateRebootOnShutdownPolicy(false); 338 UpdateRebootOnShutdownPolicy(false);
339 RefreshDevicePolicy(); 339 RefreshDevicePolicy();
340 PrepareAndRunScript("restart-header-bar-item", true); 340 PrepareAndRunScript("restart-header-bar-item", true);
341 PrepareAndRunScript("shutdown-header-bar-item", false); 341 PrepareAndRunScript("shutdown-header-bar-item", false);
342 } 342 }
343 343
344 } // namespace chromeos 344 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698