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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase 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/common/login_status.h"
9 #include "ash/common/system/date/date_default_view.h"
10 #include "ash/common/system/date/tray_date.h"
11 #include "ash/common/system/tiles/tiles_default_view.h"
12 #include "ash/common/system/tiles/tray_tiles.h"
13 #include "ash/common/system/tray/system_tray.h"
14 #include "ash/shell.h" 9 #include "ash/shell.h"
15 #include "ash/strings/grit/ash_strings.h" 10 #include "ash/strings/grit/ash_strings.h"
11 #include "ash/system/date/date_default_view.h"
12 #include "ash/system/date/tray_date.h"
13 #include "ash/system/tiles/tiles_default_view.h"
14 #include "ash/system/tiles/tray_tiles.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"
19 #include "base/run_loop.h" 19 #include "base/run_loop.h"
20 #include "base/single_thread_task_runner.h" 20 #include "base/single_thread_task_runner.h"
21 #include "base/strings/stringprintf.h" 21 #include "base/strings/stringprintf.h"
22 #include "base/threading/thread_task_runner_handle.h" 22 #include "base/threading/thread_task_runner_handle.h"
23 #include "chrome/browser/chrome_notification_types.h" 23 #include "chrome/browser/chrome_notification_types.h"
24 #include "chrome/browser/chromeos/login/lock/screen_locker.h" 24 #include "chrome/browser/chromeos/login/lock/screen_locker.h"
25 #include "chrome/browser/chromeos/login/lock/screen_locker_tester.h" 25 #include "chrome/browser/chromeos/login/lock/screen_locker_tester.h"
(...skipping 309 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