summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/new_tab_ui.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-29 22:35:30 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-29 22:35:30 +0000
commitd1c7d71cb395d96f635796b1865926b1636a01fc (patch)
treed1bfc9b952e457b5f5e2c07d739d468c28ca4c2b /chrome/browser/ui/webui/new_tab_ui.cc
parent963c15aa255a5e512aec7a434ee14a4f5be83d52 (diff)
downloadchromium_src-d1c7d71cb395d96f635796b1865926b1636a01fc.zip
chromium_src-d1c7d71cb395d96f635796b1865926b1636a01fc.tar.gz
chromium_src-d1c7d71cb395d96f635796b1865926b1636a01fc.tar.bz2
Renaming is_off_the_record to is_incognito. Contributed by vipul.bhasin@gmail.com
BUG=3333 TEST=NONE Review URL: http://codereview.chromium.org/6714031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/new_tab_ui.cc')
-rw-r--r--chrome/browser/ui/webui/new_tab_ui.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/new_tab_ui.cc b/chrome/browser/ui/webui/new_tab_ui.cc
index a3e9585..7ecdcc8 100644
--- a/chrome/browser/ui/webui/new_tab_ui.cc
+++ b/chrome/browser/ui/webui/new_tab_ui.cc
@@ -570,7 +570,7 @@ NewTabUI::NewTabHTMLSource::NewTabHTMLSource(Profile* profile)
}
void NewTabUI::NewTabHTMLSource::StartDataRequest(const std::string& path,
- bool is_off_the_record,
+ bool is_incognito,
int request_id) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -584,7 +584,7 @@ void NewTabUI::NewTabHTMLSource::StartDataRequest(const std::string& path,
}
scoped_refptr<RefCountedBytes> html_bytes(
- profile_->GetNTPResourceCache()->GetNewTabHTML(is_off_the_record));
+ profile_->GetNTPResourceCache()->GetNewTabHTML(is_incognito));
SendResponse(request_id, html_bytes);
}