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

Unified Diff: remoting/host/client_session_unittest.cc

Issue 8495024: Access ChromotingHost::clients_ only on network thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: remoting/host/client_session_unittest.cc
diff --git a/remoting/host/client_session_unittest.cc b/remoting/host/client_session_unittest.cc
index 548b49f67225cfca50e4e5ec1710c9208dc06a97..2096bf96e6742c0b53e0fb74e5c14ab0a7c1ff98 100644
--- a/remoting/host/client_session_unittest.cc
+++ b/remoting/host/client_session_unittest.cc
@@ -25,7 +25,7 @@ class ClientSessionTest : public testing::Test {
public:
ClientSessionTest() {}
- virtual void SetUp() {
+ virtual void SetUp() OVERRIDE {
client_jid_ = "user@domain/rest-of-jid";
// Set up a large default screen size that won't affect most tests.
@@ -44,6 +44,10 @@ class ClientSessionTest : public testing::Test {
&input_stub_, &capturer_);
}
+ virtual void TearDown() OVERRIDE {
+ message_loop_.RunAllPending();
+ }
+
protected:
SkISize default_screen_size_;
MessageLoop message_loop_;

Powered by Google App Engine
This is Rietveld 408576698