From 75738068e7480a137be1147c03794605c8963ecc Mon Sep 17 00:00:00 2001 From: Steve Block Date: Fri, 22 Oct 2010 17:43:22 +0100 Subject: Hide details of private browsing for URLRequestContext from Chromium AutoFill code Change-Id: I0b9ff8414e3554f65a4d318eff6a47aeff28285b --- android/autofill/android_url_request_context_getter.cc | 2 +- android/autofill/android_url_request_context_getter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'android') 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::in URLRequestContext* AndroidURLRequestContextGetter::GetURLRequestContext() { - return (*context_getter_function_)(false /* isPrivateBrowsing */); + return (*context_getter_function_)(); } scoped_refptr 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; } -- cgit v1.1