Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1347)

Unified Diff: android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h

Issue 12356002: [NOT FOR COMMIT] Hacks to merge render compositor thread with UI thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New thread restriction allows (incomplete patch) Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h
diff --git a/android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h b/android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h
index ef7b81bcea2a43d8274e4b8d746d4fe37872987d..af2154b6437b6a976972604953818c8e9717425c 100644
--- a/android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h
+++ b/android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h
@@ -7,22 +7,12 @@
#include "base/threading/thread_restrictions.h"
-#include "base/logging.h"
boliu 2013/03/01 00:19:12 nothign to do with this patch set
-
// This class is only available when building the chromium back-end for android
// webview: it is required where API backward compatibility demands that the UI
// thread must block waiting on other threads e.g. to obtain a synchronous
// return value. Long term, asynchronous overloads of all such methods will be
// added in the public API, and and no new uses of this will be allowed.
class ScopedAllowWaitForLegacyWebViewApi {
- public:
- ScopedAllowWaitForLegacyWebViewApi() {
-LOG(ERROR) << "qazwsx ScopedAllowWaitForLegacyWebViewApi constructor";
- }
-
- ~ScopedAllowWaitForLegacyWebViewApi() {
-LOG(ERROR) << "qazwsx ScopedAllowWaitForLegacyWebViewApi destructor";
- }
private:
base::ThreadRestrictions::ScopedAllowWait wait;
};
« no previous file with comments | « no previous file | base/threading/thread_restrictions.h » ('j') | content/browser/renderer_host/gpu_message_filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698