Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / chromeos / app_mode / app_launch_utils.h
blobac30933f0c113bc2f162fce44580b623191d8348
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_
8 #include <string>
10 class Profile;
12 namespace chromeos {
14 // Attempts to launch the app given by |app_id| in app mode
15 // or exit on failure. This function will not show any launch UI
16 // during the launch. Use StartupAppLauncher for finer control
17 // over the app launch processes.
18 void LaunchAppOrDie(Profile *profile, const std::string& app_id);
20 } // namespace chromeos
22 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_