OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_ | |
7 | |
8 #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.
| |
9 | |
10 namespace chromeos { | |
11 | |
12 // Attempts to launch the app given by |app_id| in app mode | |
13 // or exit on failure. This function will not show any launch UI | |
14 // during the launch. Use StartupAppLauncher for finer control | |
15 // over the app launch processes. | |
16 void LaunchAppOrDie(Profile *profile, const std::string& app_id); | |
17 | |
18 } // namespace chromeos | |
19 | |
20 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_ | |
OLD | NEW |