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

Unified Diff: chrome/browser/ui/webui/devtools_ui.cc

Issue 14039004: Add int params to URLDataSource::StartDataRequest(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changing struct -> ints. Created 7 years, 8 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/ui/webui/devtools_ui.cc
diff --git a/chrome/browser/ui/webui/devtools_ui.cc b/chrome/browser/ui/webui/devtools_ui.cc
index 983ca4d95d23f097d5a289a683a12d879bc82748..a4d542ffe4a922fa680d4ea3423e1be306cdcde0 100644
--- a/chrome/browser/ui/webui/devtools_ui.cc
+++ b/chrome/browser/ui/webui/devtools_ui.cc
@@ -103,7 +103,8 @@ class BundledDataSource : public content::URLDataSource {
virtual void StartDataRequest(
const std::string& path,
- bool is_incognito,
+ int render_process_id,
+ int render_view_id,
const content::URLDataSource::GotDataCallback& callback) OVERRIDE {
std::string filename = PathWithoutParams(path);
@@ -145,7 +146,8 @@ class RemoteDataSource : public content::URLDataSource {
virtual void StartDataRequest(
const std::string& path,
- bool is_incognito,
+ int render_process_id,
+ int render_view_id,
const content::URLDataSource::GotDataCallback& callback) OVERRIDE {
GURL url = GURL(kRemoteFrontendBase + path);
@@ -182,7 +184,7 @@ class LocalhostDataSource : public content::URLDataSource {
virtual void StartDataRequest(
const std::string& path,
- bool is_incognito,
+ const content::URLDataSource::ExtraRequestInfo& info,
jam 2013/04/17 00:45:09 nit: you forgot to update this
Jered 2013/04/17 01:03:08 Done.
const content::URLDataSource::GotDataCallback& callback) OVERRIDE {
GURL url = GURL("http://localhost:9222/" + path);

Powered by Google App Engine
This is Rietveld 408576698