From b0888112bceeac518c55aed67f79823573cabf4a Mon Sep 17 00:00:00 2001 From: "markusheintz@chromium.org" Date: Thu, 31 Mar 2011 13:23:25 +0000 Subject: Removing 'off the record' references. Contributed by vipul.bhasin@gmail.com BUG=3333 TEST=NONE Review URL: http://codereview.chromium.org/6756001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79988 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/ui/webui/theme_source.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/ui/webui/theme_source.cc') diff --git a/chrome/browser/ui/webui/theme_source.cc b/chrome/browser/ui/webui/theme_source.cc index 35f6729..010b3a1 100644 --- a/chrome/browser/ui/webui/theme_source.cc +++ b/chrome/browser/ui/webui/theme_source.cc @@ -41,7 +41,7 @@ ThemeSource::~ThemeSource() { } void ThemeSource::StartDataRequest(const std::string& path, - bool is_off_the_record, + bool is_incognito, int request_id) { // Our path may include cachebuster arguments, so trim them off. std::string uncached_path = StripQueryParams(path); @@ -49,8 +49,8 @@ void ThemeSource::StartDataRequest(const std::string& path, if (uncached_path == kNewTabCSSPath || uncached_path == kNewIncognitoTabCSSPath) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); - DCHECK((uncached_path == kNewTabCSSPath && !is_off_the_record) || - (uncached_path == kNewIncognitoTabCSSPath && is_off_the_record)); + DCHECK((uncached_path == kNewTabCSSPath && !is_incognito) || + (uncached_path == kNewIncognitoTabCSSPath && is_incognito)); SendResponse(request_id, css_bytes_); return; -- cgit v1.1