Index: apps/app_launch_on_restart_service_win.h |
diff --git a/apps/app_launch_on_restart_service_win.h b/apps/app_launch_on_restart_service_win.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bddbde3cda63f686257bd9bb38d6c615c67a2c71 |
--- /dev/null |
+++ b/apps/app_launch_on_restart_service_win.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef APPS_APP_LAUNCH_ON_RESTART_SERVICE_WIN_H_ |
+#define APPS_APP_LAUNCH_ON_RESTART_SERVICE_WIN_H_ |
+ |
+#include <string> |
+ |
+#include "base/basictypes.h" |
+ |
+class Profile; |
+ |
+namespace apps { |
+ |
+// Handles launching apps on browser startup due to an attempt to launch an app |
+// in Windows 8 Metro mode. |
+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.
|
+ public: |
+ static void HandleStartupForProfile(Profile* profile); |
+ static void SetAppLaunchOnStartupForProfile(Profile* profile, |
+ const std::string& extension_id); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(AppLaunchOnRestartServiceWin); |
+}; |
+ |
+} // namespace apps |
+ |
+#endif // APPS_APP_LAUNCH_ON_RESTART_SERVICE_WIN_H_ |