summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-10-22 17:43:22 +0100
committerSteve Block <steveblock@google.com>2010-10-22 17:43:22 +0100
commit75738068e7480a137be1147c03794605c8963ecc (patch)
treeed9e8de24ff04ab9eaaa43769001683edfddfd1a /android
parente58d2d4516094b9cf2637d1312f0c25f75c20599 (diff)
downloadexternal_chromium-75738068e7480a137be1147c03794605c8963ecc.zip
external_chromium-75738068e7480a137be1147c03794605c8963ecc.tar.gz
external_chromium-75738068e7480a137be1147c03794605c8963ecc.tar.bz2
Hide details of private browsing for URLRequestContext from Chromium AutoFill code
Change-Id: I0b9ff8414e3554f65a4d318eff6a47aeff28285b
Diffstat (limited to 'android')
-rw-r--r--android/autofill/android_url_request_context_getter.cc2
-rw-r--r--android/autofill/android_url_request_context_getter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/android/autofill/android_url_request_context_getter.cc b/android/autofill/android_url_request_context_getter.cc
index b69c0fe..8db1927 100644
--- a/android/autofill/android_url_request_context_getter.cc
+++ b/android/autofill/android_url_request_context_getter.cc
@@ -30,7 +30,7 @@ scoped_refptr<AndroidURLRequestContextGetter> AndroidURLRequestContextGetter::in
URLRequestContext* AndroidURLRequestContextGetter::GetURLRequestContext()
{
- return (*context_getter_function_)(false /* isPrivateBrowsing */);
+ return (*context_getter_function_)();
}
scoped_refptr<base::MessageLoopProxy> AndroidURLRequestContextGetter::GetIOMessageLoopProxy()
diff --git a/android/autofill/android_url_request_context_getter.h b/android/autofill/android_url_request_context_getter.h
index 6ba3fce..d4cd4ed 100644
--- a/android/autofill/android_url_request_context_getter.h
+++ b/android/autofill/android_url_request_context_getter.h
@@ -44,7 +44,7 @@ public:
static AndroidURLRequestContextGetter* Get();
- typedef URLRequestContext* (URLRequestContextGetterFunction)(bool);
+ typedef URLRequestContext* (URLRequestContextGetterFunction)();
void SetURLRequestContextGetterFunction(
URLRequestContextGetterFunction* function);
void SetIOThread(base::Thread* io_thread) { io_thread_ = io_thread; }