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

Unified Diff: content/browser/browser_url_handler_impl.cc

Issue 148983007: cc: Enable rendering stats recording in browser compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 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/browser_url_handler_impl.cc
diff --git a/content/browser/browser_url_handler_impl.cc b/content/browser/browser_url_handler_impl.cc
index 7c212dc3fd6c80e07b66422aba47278c30fc73a6..10a5c8838f47446d5209c5f1a543a881f7518b8a 100644
--- a/content/browser/browser_url_handler_impl.cc
+++ b/content/browser/browser_url_handler_impl.cc
@@ -6,10 +6,10 @@
#include "base/command_line.h"
#include "base/strings/string_util.h"
+#include "cc/base/switches.h"
#include "content/browser/frame_host/debug_urls.h"
#include "content/browser/webui/web_ui_impl.h"
#include "content/public/browser/content_browser_client.h"
-#include "content/public/common/content_switches.h"
#include "content/public/common/url_constants.h"
#include "url/gurl.h"
@@ -76,7 +76,7 @@ static bool DebugURLHandler(GURL* url, BrowserContext* browser_context) {
// chrome:// scheme, since the about: scheme won't be rewritten in
// this code path.
if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableGpuBenchmarking)) {
+ cc::switches::kEnableGpuBenchmarking)) {
if (HandleDebugURL(*url, PAGE_TRANSITION_FROM_ADDRESS_BAR)) {
return true;
}
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698