summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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; }