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

Unified Diff: apps/switches.cc

Issue 15947007: Move application restart and relaunch code out of ExtensionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pafooey Created 7 years, 7 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
« no previous file with comments | « apps/switches.h ('k') | chrome/browser/background/background_contents_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/switches.cc
diff --git a/apps/prefs.h b/apps/switches.cc
similarity index 51%
copy from apps/prefs.h
copy to apps/switches.cc
index 373486080e964c2b166904de8d9150da624ebeb0..60f94175f67827ed2e4b08d87be6a9b2c3a4122e 100644
--- a/apps/prefs.h
+++ b/apps/switches.cc
@@ -2,16 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APPS_PREFS_H_
-#define APPS_PREFS_H_
-
-class PrefRegistrySimple;
+#include "apps/switches.h"
namespace apps {
-// Register preferences for the apps system.
-void RegisterPrefs(PrefRegistrySimple* registry);
+// Loads an app from the specified directory and launches it.
+const char kLoadAndLaunchApp[] = "load-and-launch-app";
} // namespace apps
-
-#endif // APPS_PREFS_H_
« no previous file with comments | « apps/switches.h ('k') | chrome/browser/background/background_contents_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698