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

Side by Side Diff: chrome/browser/chromeos/app_mode/app_launch_utils.cc

Issue 645343004: Cleanup: Remove some unneeded timer.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « base/test/trace_to_file.cc ('k') | chrome/browser/chromeos/login/lock/screen_locker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/chromeos/app_mode/app_launch_utils.h" 5 #include "chrome/browser/chromeos/app_mode/app_launch_utils.h"
6 6
7 #include "base/timer/timer.h"
8 #include "chrome/browser/chromeos/app_mode/kiosk_app_launch_error.h" 7 #include "chrome/browser/chromeos/app_mode/kiosk_app_launch_error.h"
9 #include "chrome/browser/chromeos/app_mode/startup_app_launcher.h" 8 #include "chrome/browser/chromeos/app_mode/startup_app_launcher.h"
10 #include "chrome/browser/lifetime/application_lifetime.h" 9 #include "chrome/browser/lifetime/application_lifetime.h"
11 10
12 namespace chromeos { 11 namespace chromeos {
13 12
14 // A simple manager for the app launch that starts the launch 13 // A simple manager for the app launch that starts the launch
15 // and deletes itself when the launch finishes. On launch failure, 14 // and deletes itself when the launch finishes. On launch failure,
16 // it exits the browser process. 15 // it exits the browser process.
17 class AppLaunchManager : public StartupAppLauncher::Delegate { 16 class AppLaunchManager : public StartupAppLauncher::Delegate {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 60
62 DISALLOW_COPY_AND_ASSIGN(AppLaunchManager); 61 DISALLOW_COPY_AND_ASSIGN(AppLaunchManager);
63 }; 62 };
64 63
65 void LaunchAppOrDie(Profile* profile, const std::string& app_id) { 64 void LaunchAppOrDie(Profile* profile, const std::string& app_id) {
66 // AppLaunchManager manages its own lifetime. 65 // AppLaunchManager manages its own lifetime.
67 (new AppLaunchManager(profile, app_id))->Start(); 66 (new AppLaunchManager(profile, app_id))->Start();
68 } 67 }
69 68
70 } // namespace chromeos 69 } // namespace chromeos
OLDNEW
« no previous file with comments | « base/test/trace_to_file.cc ('k') | chrome/browser/chromeos/login/lock/screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698