diff options
Diffstat (limited to 'Source')
6 files changed, 12 insertions, 9 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/ChromiumIncludes.h b/Source/WebKit/android/WebCoreSupport/ChromiumIncludes.h index 8a17656..1636405 100644 --- a/Source/WebKit/android/WebCoreSupport/ChromiumIncludes.h +++ b/Source/WebKit/android/WebCoreSupport/ChromiumIncludes.h @@ -47,7 +47,7 @@ #include <android/net/android_network_library_impl.h> #include <base/callback.h> -#include <base/lock.h> +#include <base/synchronization/lock.h> #include <base/message_loop_proxy.h> #include <base/openssl_util.h> #include <base/ref_counted.h> diff --git a/Source/WebKit/android/WebCoreSupport/ChromiumInit.cpp b/Source/WebKit/android/WebCoreSupport/ChromiumInit.cpp index 1872fb9..2bb4d3d 100644 --- a/Source/WebKit/android/WebCoreSupport/ChromiumInit.cpp +++ b/Source/WebKit/android/WebCoreSupport/ChromiumInit.cpp @@ -60,8 +60,8 @@ namespace { void initChromium() { - static Lock lock; - AutoLock aLock(lock); + static base::Lock lock; + base::AutoLock aLock(lock); static bool initCalled = false; if (!initCalled) { logging::SetLogMessageHandler(logMessageHandler); diff --git a/Source/WebKit/android/WebCoreSupport/WebCookieJar.cpp b/Source/WebKit/android/WebCoreSupport/WebCookieJar.cpp index 429e990..dfb249d 100644 --- a/Source/WebKit/android/WebCoreSupport/WebCookieJar.cpp +++ b/Source/WebKit/android/WebCoreSupport/WebCookieJar.cpp @@ -207,7 +207,7 @@ public: // Block until the given number of callbacks has been made. void Wait(int numCallbacks) { - AutoLock al(m_lock); + base::AutoLock al(m_lock); int lastCount = m_count; while (m_count < numCallbacks) { // TODO(husky): Maybe use TimedWait() here? But it's not obvious what @@ -223,7 +223,7 @@ private: friend class base::RefCounted<FlushSemaphore>; void Callback() { - AutoLock al(m_lock); + base::AutoLock al(m_lock); m_count++; m_condition.Broadcast(); } diff --git a/Source/WebKit/android/WebCoreSupport/WebRequestContext.h b/Source/WebKit/android/WebCoreSupport/WebRequestContext.h index 51f0514..9286127 100644 --- a/Source/WebKit/android/WebCoreSupport/WebRequestContext.h +++ b/Source/WebKit/android/WebCoreSupport/WebRequestContext.h @@ -34,7 +34,7 @@ namespace android { // This class is generally not threadsafe. -class WebRequestContext : public URLRequestContext { +class WebRequestContext : public net::URLRequestContext { public: // URLRequestContext overrides. virtual const std::string& GetUserAgent(const GURL&) const; diff --git a/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp b/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp index b047379..e293e97 100644 --- a/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp +++ b/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp @@ -39,6 +39,9 @@ #include <wtf/text/CString.h> +using base::Lock; +using base::AutoLock; + namespace android { base::Thread* WebUrlLoaderClient::ioThread() diff --git a/Source/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp b/Source/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp index a80636c..961497b 100644 --- a/Source/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp +++ b/Source/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp @@ -122,7 +122,7 @@ void WebAutoFill::searchDocument(WebCore::Frame* frame) void WebAutoFill::formsSeenImpl() { MutexLocker lock(mFormsSeenMutex); - mAutoFillManager->FormsSeen(mForms); + mAutoFillManager->OnFormsSeenWrapper(mForms); mParsingForms = false; mFormsSeenCondition.signal(); } @@ -166,7 +166,7 @@ void WebAutoFill::formFieldFocused(WebCore::HTMLFormControlElement* formFieldEle mFormManager->FindFormWithFormControlElement(formFieldElement, FormManager::REQUIRE_AUTOCOMPLETE, form); mQueryMap[mQueryId] = new FormDataAndField(form, formField); - bool suggestions = mAutoFillManager->GetAutoFillSuggestions(*form, *formField); + bool suggestions = mAutoFillManager->OnQueryFormFieldAutoFillWrapper(0, *form, *formField); // First param not used on Android mQueryId++; if (!suggestions) { @@ -207,7 +207,7 @@ void WebAutoFill::fillFormFields(int queryId) // but stop here to be certain. return; } - mAutoFillManager->FillAutoFillFormData(queryId, *form, *field, iter->second); + mAutoFillManager->OnFillAutoFillFormDataWrapper(queryId, *form, *field, iter->second); mUniqueIdMap.erase(iter); } |