From f09d9379d6e654e7fd95b9d601b1e77f1ac13c3d Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Tue, 17 Nov 2009 00:10:36 +0000 Subject: Plumb through off the record state from the URL request to the chrome url request data sources. This will allow me to merge IncognitoTabHTMLSource and NewTabHTMLSource and allow me clean up DOMUIThemeSource, but those will be follow up changes. Review URL: http://codereview.chromium.org/397019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32126 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_about_handler.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chrome/browser/browser_about_handler.cc') diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc index 9044705..ad517f3 100644 --- a/chrome/browser/browser_about_handler.cc +++ b/chrome/browser/browser_about_handler.cc @@ -119,7 +119,9 @@ class AboutSource : public ChromeURLDataManager::DataSource { // Called when the network layer has requested a resource underneath // the path we registered. - virtual void StartDataRequest(const std::string& path, int request_id); + virtual void StartDataRequest(const std::string& path, + bool is_off_the_record, + int request_id); virtual std::string GetMimeType(const std::string&) const { return "text/html"; @@ -598,7 +600,7 @@ AboutSource::~AboutSource() { } void AboutSource::StartDataRequest(const std::string& path_raw, - int request_id) { + bool is_off_the_record, int request_id) { std::string path = path_raw; std::string info; if (path.find("/") != std::string::npos) { -- cgit v1.1