mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-02 04:16:42 +01:00
801ff3ca43
- Move to the new DOM storage backend. Persistent localStorage support will need to be re-implemented (issue #603). - Add CefV8Value::CreateUInt method and indicate that integer types are 32bit via usage of int32 and uint32 types (issue #331). - Add CefV8Context::Eval method for synchronous JavaScript execution that returns a value or exception (issue #444). - Move exception handling from an ExecuteFunction argument to a CefV8Value attribute (issue #546). - Make user data an attribute for all CefV8Value object types and not just CreateObject (issue #547). - Un-fork SQLitePersistentCookieStore by adding stub implementations for sqlite_diagnostics and browser_thread. - Update tools/cef_parser.py to match the CEF3 version. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@644 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
34 lines
974 B
Diff
34 lines
974 B
Diff
Index: message_loop.cc
|
|
===================================================================
|
|
--- message_loop.cc (revision 138235)
|
|
+++ message_loop.cc (working copy)
|
|
@@ -367,9 +367,13 @@
|
|
}
|
|
|
|
void MessageLoop::AssertIdle() const {
|
|
+ DCHECK(IsIdle());
|
|
+}
|
|
+
|
|
+bool MessageLoop::IsIdle() const {
|
|
// We only check |incoming_queue_|, since we don't want to lock |work_queue_|.
|
|
base::AutoLock lock(incoming_queue_lock_);
|
|
- DCHECK(incoming_queue_.empty());
|
|
+ return incoming_queue_.empty();
|
|
}
|
|
|
|
bool MessageLoop::is_running() const {
|
|
Index: message_loop.h
|
|
===================================================================
|
|
--- message_loop.h (revision 138235)
|
|
+++ message_loop.h (working copy)
|
|
@@ -347,6 +347,9 @@
|
|
// Asserts that the MessageLoop is "idle".
|
|
void AssertIdle() const;
|
|
|
|
+ // Returns true if the MessageLoop is "idle".
|
|
+ bool IsIdle() const;
|
|
+
|
|
#if defined(OS_WIN)
|
|
void set_os_modal_loop(bool os_modal_loop) {
|
|
os_modal_loop_ = os_modal_loop;
|