summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/theme_source.cc
diff options
context:
space:
mode:
authormarkusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 13:23:25 +0000
committermarkusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 13:23:25 +0000
commitb0888112bceeac518c55aed67f79823573cabf4a (patch)
treee285b89bdde883e2e4fc596e7105c1b1c5af32c0 /chrome/browser/ui/webui/theme_source.cc
parent6d428b3f87c1ba90b105a5dae4bd3104d884e440 (diff)
downloadchromium_src-b0888112bceeac518c55aed67f79823573cabf4a.zip
chromium_src-b0888112bceeac518c55aed67f79823573cabf4a.tar.gz
chromium_src-b0888112bceeac518c55aed67f79823573cabf4a.tar.bz2
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
Diffstat (limited to 'chrome/browser/ui/webui/theme_source.cc')
-rw-r--r--chrome/browser/ui/webui/theme_source.cc6
1 files changed, 3 insertions, 3 deletions
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;