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

Unified Diff: chrome/browser/chromeos/app_mode/app_launch_utils.h

Issue 22914008: Refactor kiosk app launch to be part of login screen UI flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor style fixes Created 7 years, 4 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/chromeos/app_mode/app_launch_utils.h
diff --git a/chrome/browser/chromeos/app_mode/app_launch_utils.h b/chrome/browser/chromeos/app_mode/app_launch_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..04249ce888a79b6a77e29f28a43f1000d7039995
--- /dev/null
+++ b/chrome/browser/chromeos/app_mode/app_launch_utils.h
@@ -0,0 +1,20 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_
+#define CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_
+
+#include "chrome/browser/profiles/profile.h"
xiyuan 2013/08/19 17:40:29 nit: forward declaration in the header file is eno
Tim Song 2013/08/19 20:05:07 Done.
+
+namespace chromeos {
+
+// Attempts to launch the app given by |app_id| in app mode
+// or exit on failure. This function will not show any launch UI
+// during the launch. Use StartupAppLauncher for finer control
+// over the app launch processes.
+void LaunchAppOrDie(Profile *profile, const std::string& app_id);
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698