From f5c16878840c58e6e0b1622e0cd950fe27ae7832 Mon Sep 17 00:00:00 2001 From: Kristian Monsen Date: Wed, 25 May 2011 12:07:14 +0100 Subject: Merge chromium at 10.0.634.0: Compile fixes base/thread.h moved to base/threading/thread.h: http://codereview.chromium.org/6028009 base/condition_variable.h base/lock.h moved to base/synchronization and classes added to base namespace: http://codereview.chromium.org/6018013 Change-Id: I74d14224d6b17df33bc1cc9a5521fd267f4e830c --- Source/WebKit/android/WebCoreSupport/ChromiumIncludes.h | 4 ++-- Source/WebKit/android/WebCoreSupport/WebCookieJar.cpp | 4 ++-- Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp | 6 +++--- Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.h | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'Source/WebKit/android') diff --git a/Source/WebKit/android/WebCoreSupport/ChromiumIncludes.h b/Source/WebKit/android/WebCoreSupport/ChromiumIncludes.h index bea78eb..e467218 100644 --- a/Source/WebKit/android/WebCoreSupport/ChromiumIncludes.h +++ b/Source/WebKit/android/WebCoreSupport/ChromiumIncludes.h @@ -47,13 +47,13 @@ #include #include -#include #include #include #include #include +#include #include -#include +#include #include #include #include diff --git a/Source/WebKit/android/WebCoreSupport/WebCookieJar.cpp b/Source/WebKit/android/WebCoreSupport/WebCookieJar.cpp index 99de67e..429e990 100644 --- a/Source/WebKit/android/WebCoreSupport/WebCookieJar.cpp +++ b/Source/WebKit/android/WebCoreSupport/WebCookieJar.cpp @@ -228,8 +228,8 @@ private: m_condition.Broadcast(); } - Lock m_lock; - ConditionVariable m_condition; + base::Lock m_lock; + base::ConditionVariable m_condition; volatile int m_count; }; diff --git a/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp b/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp index cf218e7..b22ae26 100644 --- a/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp +++ b/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp @@ -69,13 +69,13 @@ base::Thread* WebUrlLoaderClient::ioThread() return networkThread; } -Lock* WebUrlLoaderClient::syncLock() { +base::Lock* WebUrlLoaderClient::syncLock() { static Lock s_syncLock; return &s_syncLock; } -ConditionVariable* WebUrlLoaderClient::syncCondition() { - static ConditionVariable s_syncCondition(syncLock()); +base::ConditionVariable* WebUrlLoaderClient::syncCondition() { + static base::ConditionVariable s_syncCondition(syncLock()); return &s_syncCondition; } diff --git a/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.h b/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.h index dc101db..224fa65 100644 --- a/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.h +++ b/Source/WebKit/android/WebCoreSupport/WebUrlLoaderClient.h @@ -36,10 +36,10 @@ #include #include -class Lock; -class ConditionVariable; namespace base { +class ConditionVariable; +class Lock; class Thread; } @@ -118,8 +118,8 @@ private: // Mutex and condition variable used for synchronous requests. // Note that these are static. This works because there's only one main thread. - static Lock* syncLock(); - static ConditionVariable* syncCondition(); + static base::Lock* syncLock(); + static base::ConditionVariable* syncCondition(); // Queue of callbacks to be executed by the main thread. Must only be accessed inside mutex. std::deque m_queue; -- cgit v1.1