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_
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_