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

Unified Diff: ui/base/test/user_interactive_test_case.cc

Issue 2382963002: Views: Add two disabled tests for invoking the CC unmask prompt dialog. (Closed)
Patch Set: Give user_interactive_test_case* its own if statement. Created 4 years, 2 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: ui/base/test/user_interactive_test_case.cc
diff --git a/mojo/public/cpp/system/message.cc b/ui/base/test/user_interactive_test_case.cc
similarity index 52%
copy from mojo/public/cpp/system/message.cc
copy to ui/base/test/user_interactive_test_case.cc
index 09d8d46e6dd15407bd123489ab8bdacdfef381c6..de28c627ed1cdb08bc7cbb75ef9bb9797159eb16 100644
--- a/mojo/public/cpp/system/message.cc
+++ b/ui/base/test/user_interactive_test_case.cc
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/public/cpp/system/message.h"
+#include "ui/base/test/user_interactive_test_case.h"
-namespace mojo {
+#include "base/run_loop.h"
-ScopedMessageHandle::~ScopedMessageHandle() {
+namespace test {
+void RunTestInteractively() {
+ base::RunLoop().Run();
}
-} // namespace mojo
+}
tapted 2016/10/18 23:49:19 nit: // namespace test
Patti Lor 2016/10/20 00:58:06 Done.

Powered by Google App Engine
This is Rietveld 408576698