summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net
diff options
context:
space:
mode:
authorvipul.bhasin@gmail.com <vipul.bhasin@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 19:22:30 +0000
committervipul.bhasin@gmail.com <vipul.bhasin@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 19:22:30 +0000
commit705097651f83b400621be7bd553052636adad05a (patch)
tree43529e45dfcf24aa82e416b1f3c83d8c6184dddb /chrome/browser/net
parent3540f251489f00450a40d93246a278e154bf3fd8 (diff)
downloadchromium_src-705097651f83b400621be7bd553052636adad05a.zip
chromium_src-705097651f83b400621be7bd553052636adad05a.tar.gz
chromium_src-705097651f83b400621be7bd553052636adad05a.tar.bz2
Remove 'off the record' references from ChromeURLContext.
BUG=3333 TEST=NONE Review URL: http://codereview.chromium.org/6697012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r--chrome/browser/net/chrome_url_request_context.cc2
-rw-r--r--chrome/browser/net/chrome_url_request_context.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc
index e4c9794..32066a1 100644
--- a/chrome/browser/net/chrome_url_request_context.cc
+++ b/chrome/browser/net/chrome_url_request_context.cc
@@ -320,7 +320,7 @@ void ChromeURLRequestContextGetter::GetCookieStoreAsyncHelper(
// ----------------------------------------------------------------------------
ChromeURLRequestContext::ChromeURLRequestContext()
- : is_off_the_record_(false) {
+ : is_incognito_(false) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
}
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index 1f1b09c..fab3f71 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -73,8 +73,8 @@ class ChromeURLRequestContext : public net::URLRequestContext {
return file_system_context_.get();
}
- bool is_off_the_record() const {
- return is_off_the_record_;
+ bool is_incognito() const {
+ return is_incognito_;
}
virtual const std::string& GetUserAgent(const GURL& url) const;
@@ -101,8 +101,8 @@ class ChromeURLRequestContext : public net::URLRequestContext {
void set_user_script_dir_path(const FilePath& path) {
user_script_dir_path_ = path;
}
- void set_is_off_the_record(bool is_off_the_record) {
- is_off_the_record_ = is_off_the_record;
+ void set_is_incognito(bool is_incognito) {
+ is_incognito_ = is_incognito;
}
void set_host_content_settings_map(
HostContentSettingsMap* host_content_settings_map) {
@@ -156,7 +156,7 @@ class ChromeURLRequestContext : public net::URLRequestContext {
scoped_refptr<prerender::PrerenderManager> prerender_manager_;
scoped_ptr<ChromeURLDataManagerBackend> chrome_url_data_manager_backend_;
- bool is_off_the_record_;
+ bool is_incognito_;
DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContext);
};