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

Unified Diff: chrome/common/url_constants.cc

Issue 16745008: chrome://restart implemented. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PostTask to AttemptRestart Created 7 years, 6 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 | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/url_constants.cc
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index 2f7fc73b8242c09d63673b8533918ca40bed2d2b..626bde73933f8744519f73df84a6194321cebfcd 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -65,6 +65,7 @@ const char kChromeUIPolicyURL[] = "chrome://policy/";
const char kChromeUIProfileSigninConfirmationURL[] =
"chrome://profile-signin-confirmation/";
const char kChromeUIPrintURL[] = "chrome://print/";
+const char kChromeUIRestartURL[] = "chrome://restart/";
const char kChromeUISessionFaviconURL[] = "chrome://session-favicon/";
const char kChromeUISettingsURL[] = "chrome://settings/";
const char kChromeUISettingsFrameURL[] = "chrome://settings-frame/";
@@ -193,6 +194,7 @@ const char kChromeUIPredictorsHost[] = "predictors";
const char kChromeUIPrintHost[] = "print";
const char kChromeUIProfilerHost[] = "profiler";
const char kChromeUIQuotaInternalsHost[] = "quota-internals";
+const char kChromeUIRestartHost[] = "restart";
const char kChromeUISessionFaviconHost[] = "session-favicon";
const char kChromeUISettingsHost[] = "settings";
const char kChromeUISettingsFrameHost[] = "settings-frame";
@@ -512,7 +514,8 @@ const char* const kChromeDebugURLs[] = {
content::kChromeUIGpuCrashURL,
content::kChromeUIGpuHangURL,
content::kChromeUIPpapiFlashCrashURL,
- content::kChromeUIPpapiFlashHangURL
+ content::kChromeUIPpapiFlashHangURL,
+ chrome::kChromeUIRestartURL
};
const int kNumberOfChromeDebugURLs =
static_cast<int>(arraysize(kChromeDebugURLs));
« no previous file with comments | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698