Index: chrome/browser/apps/app_launch_for_metro_restart_win.h |
diff --git a/apps/app_launch_for_metro_restart_win.h b/chrome/browser/apps/app_launch_for_metro_restart_win.h |
similarity index 60% |
rename from apps/app_launch_for_metro_restart_win.h |
rename to chrome/browser/apps/app_launch_for_metro_restart_win.h |
index dfbd13ebf6d9b8360e82e548e19b454390b711d1..a6296ab25d24222467f5261d95fa7745b7201825 100644 |
--- a/apps/app_launch_for_metro_restart_win.h |
+++ b/chrome/browser/apps/app_launch_for_metro_restart_win.h |
@@ -2,16 +2,17 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H |
-#define APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H |
+#ifndef CHROME_BROWSER_APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H_ |
+#define CHROME_BROWSER_APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H_ |
#include <string> |
#include "base/basictypes.h" |
+class PrefRegistrySimple; |
class Profile; |
-namespace apps { |
+namespace app_metro_launch { |
// Handles launching apps on browser startup due to an attempt to launch an app |
// in Windows 8 Metro mode. |
@@ -21,6 +22,9 @@ void HandleAppLaunchForMetroRestart(Profile* profile); |
void SetAppLaunchForMetroRestart(Profile* profile, |
const std::string& extension_id); |
-} // namespace apps |
+// Register preferences to do with launching apps in Metro. |
+void RegisterPrefs(PrefRegistrySimple* registry); |
-#endif // APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H |
+} // namespace app_metro_launch |
+ |
+#endif // CHROME_BROWSER_APPS_APP_LAUNCH_FOR_METRO_RESTART_WIN_H_ |