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

Unified Diff: content/browser/web_contents/debug_urls.cc

Issue 12387070: content: Move more constants from url_constants.h into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: content/browser/web_contents/debug_urls.cc
diff --git a/content/browser/web_contents/debug_urls.cc b/content/browser/web_contents/debug_urls.cc
index 98222749013128acb9c913d0d71585651ad54e37..f62f0b3bf0a3e5bcea637618a139ffeb77fb351a 100644
--- a/content/browser/web_contents/debug_urls.cc
+++ b/content/browser/web_contents/debug_urls.cc
@@ -21,7 +21,7 @@ namespace {
void HandlePpapiFlashDebugURL(const GURL& url) {
#if defined(ENABLE_PLUGINS)
- bool crash = url == GURL(chrome::kChromeUIPpapiFlashCrashURL);
+ bool crash = url == GURL(kChromeUIPpapiFlashCrashURL);
std::vector<PpapiPluginProcessHost*> hosts;
PpapiPluginProcessHost::FindByName(UTF8ToUTF16(kFlashPluginName), &hosts);
@@ -48,29 +48,29 @@ bool HandleDebugURL(const GURL& url, PageTransition transition) {
return true;
}
- if (url == GURL(chrome::kChromeUIGpuCleanURL)) {
+ if (url == GURL(kChromeUIGpuCleanURL)) {
GpuProcessHostUIShim* shim = GpuProcessHostUIShim::GetOneInstance();
if (shim)
shim->SimulateRemoveAllContext();
return true;
}
- if (url == GURL(chrome::kChromeUIGpuCrashURL)) {
+ if (url == GURL(kChromeUIGpuCrashURL)) {
GpuProcessHostUIShim* shim = GpuProcessHostUIShim::GetOneInstance();
if (shim)
shim->SimulateCrash();
return true;
}
- if (url == GURL(chrome::kChromeUIGpuHangURL)) {
+ if (url == GURL(kChromeUIGpuHangURL)) {
GpuProcessHostUIShim* shim = GpuProcessHostUIShim::GetOneInstance();
if (shim)
shim->SimulateHang();
return true;
}
- if (url == GURL(chrome::kChromeUIPpapiFlashCrashURL) ||
- url == GURL(chrome::kChromeUIPpapiFlashHangURL)) {
+ if (url == GURL(kChromeUIPpapiFlashCrashURL) ||
+ url == GURL(kChromeUIPpapiFlashHangURL)) {
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
base::Bind(&HandlePpapiFlashDebugURL, url));
return true;
« no previous file with comments | « content/browser/speech/speech_recognition_browsertest.cc ('k') | content/browser/webui/web_ui_controller_factory_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698