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

Unified Diff: content/public/test/browser_test_utils.h

Issue 2549023003: Automated test for dragging between same-page, cross-site frames. (Closed)
Patch Set: Fix the pattern used in the test filter file. Created 4 years 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: content/public/test/browser_test_utils.h
diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h
index 1deed61f1a9da8609bcd14c7adafa8302b917112..e39416c789bd79e3bded26d7690201a40d3915a4 100644
--- a/content/public/test/browser_test_utils.h
+++ b/content/public/test/browser_test_utils.h
@@ -442,6 +442,10 @@ class DOMMessageQueue : public NotificationObserver,
// message. Returns true on success.
bool WaitForMessage(std::string* message) WARN_UNUSED_RESULT;
+ // If there is a message in the queue, then copies it to |message| and returns
+ // true. Otherwise (if the queue is empty), returns false.
+ bool PopMessage(std::string* message) WARN_UNUSED_RESULT;
+
// Overridden NotificationObserver methods.
void Observe(int type,
const NotificationSource& source,

Powered by Google App Engine
This is Rietveld 408576698