From 595099a8c1be642bb6603f1b82669d721fe5d5df Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Thu, 18 Nov 2010 19:36:48 +0000 Subject: Merge Chromium at r65505: GetIOMessageLoopProxy now const http://src.chromium.org/viewvc/chrome?view=rev&revision=63574 Change-Id: I7e81d58e8d3476c135d45610de6a615bf1eee667 --- android/autofill/android_url_request_context_getter.cc | 2 +- android/autofill/android_url_request_context_getter.h | 4 ++-- 2 files changed, 3 insertions(+), 3 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 8db1927..9e602cb 100644 --- a/android/autofill/android_url_request_context_getter.cc +++ b/android/autofill/android_url_request_context_getter.cc @@ -33,7 +33,7 @@ URLRequestContext* AndroidURLRequestContextGetter::GetURLRequestContext() return (*context_getter_function_)(); } -scoped_refptr AndroidURLRequestContextGetter::GetIOMessageLoopProxy() +scoped_refptr AndroidURLRequestContextGetter::GetIOMessageLoopProxy() const { if (!io_thread_) return NULL; diff --git a/android/autofill/android_url_request_context_getter.h b/android/autofill/android_url_request_context_getter.h index d4cd4ed..116323d 100644 --- a/android/autofill/android_url_request_context_getter.h +++ b/android/autofill/android_url_request_context_getter.h @@ -40,7 +40,7 @@ public: // URLRequestContextGetter implementation virtual URLRequestContext* GetURLRequestContext(); - virtual scoped_refptr GetIOMessageLoopProxy(); + virtual scoped_refptr GetIOMessageLoopProxy() const; static AndroidURLRequestContextGetter* Get(); @@ -52,7 +52,7 @@ public: private: static scoped_refptr instance_; URLRequestContextGetterFunction* context_getter_function_; - base::Thread* io_thread_; + mutable base::Thread* io_thread_; }; #endif // ANDROID_URL_REQUEST_CONTEXT_GETTER_H -- cgit v1.1