Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: chrome/browser/apps/app_launch_for_metro_restart_win.h

Issue 25034003: Moved apps metro code from apps to chrome/browser/apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix stuffup Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698