Chromium Code Reviews| 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 APPS_APP_LAUNCH_ON_RESTART_SERVICE_WIN_H_ | |
| 6 #define APPS_APP_LAUNCH_ON_RESTART_SERVICE_WIN_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/basictypes.h" | |
| 11 | |
| 12 class Profile; | |
| 13 | |
| 14 namespace apps { | |
| 15 | |
| 16 // Handles launching apps on browser startup due to an attempt to launch an app | |
| 17 // in Windows 8 Metro mode. | |
| 18 class AppLaunchOnRestartServiceWin { | |
|
benwells
2013/03/18 22:16:47
Nit: Please rename this the metro restart service
tapted
2013/03/19 02:49:05
Done.
| |
| 19 public: | |
| 20 static void HandleStartupForProfile(Profile* profile); | |
| 21 static void SetAppLaunchOnStartupForProfile(Profile* profile, | |
| 22 const std::string& extension_id); | |
| 23 | |
| 24 private: | |
| 25 DISALLOW_COPY_AND_ASSIGN(AppLaunchOnRestartServiceWin); | |
| 26 }; | |
| 27 | |
| 28 } // namespace apps | |
| 29 | |
| 30 #endif // APPS_APP_LAUNCH_ON_RESTART_SERVICE_WIN_H_ | |
| OLD | NEW |