diff options
author | Steve Block <steveblock@google.com> | 2010-10-20 17:24:23 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-10-21 11:47:44 +0100 |
commit | e58d2d4516094b9cf2637d1312f0c25f75c20599 (patch) | |
tree | 0db267162397a528415d783c71fb17edc8cf2ca2 /android/autofill | |
parent | 51bed79f4c78c125421cec0f2228fa3d9526798b (diff) | |
download | external_chromium-e58d2d4516094b9cf2637d1312f0c25f75c20599.zip external_chromium-e58d2d4516094b9cf2637d1312f0c25f75c20599.tar.gz external_chromium-e58d2d4516094b9cf2637d1312f0c25f75c20599.tar.bz2 |
Fix Chromium HTTP request context getters to use raw pointers
Requires a change to external/webkit ...
https://android-git.corp.google.com/g/75221
Change-Id: I33e86e97acd34d44206418c4cf87c4ffecac0557
Diffstat (limited to 'android/autofill')
-rw-r--r-- | android/autofill/android_url_request_context_getter.cc | 2 | ||||
-rw-r--r-- | android/autofill/android_url_request_context_getter.h | 2 |
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 8db1927..b69c0fe 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_)(); + return (*context_getter_function_)(false /* isPrivateBrowsing */); } 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 80be69c..6ba3fce 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 scoped_refptr<URLRequestContext> (URLRequestContextGetterFunction)(); + typedef URLRequestContext* (URLRequestContextGetterFunction)(bool); void SetURLRequestContextGetterFunction( URLRequestContextGetterFunction* function); void SetIOThread(base::Thread* io_thread) { io_thread_ = io_thread; } |