Home | History | Annotate | Download | only in app_mode
      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 <string>
      9 
     10 class Profile;
     11 
     12 namespace chromeos {
     13 
     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);
     19 
     20 }  // namespace chromeos
     21 
     22 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_APP_LAUNCH_UTILS_H_
     23