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

Side by Side Diff: remoting/protocol/message_reader_unittest.cc

Issue 19574007: Use a direct include of the message_loop header in remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string> 5 #include <string>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/stl_util.h" 11 #include "base/stl_util.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/socket/socket.h" 14 #include "net/socket/socket.h"
15 #include "remoting/protocol/fake_session.h" 15 #include "remoting/protocol/fake_session.h"
16 #include "remoting/protocol/message_reader.h" 16 #include "remoting/protocol/message_reader.h"
17 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 #include "testing/gmock/include/gmock/gmock.h"
19 #include "third_party/libjingle/source/talk/base/byteorder.h" 19 #include "third_party/libjingle/source/talk/base/byteorder.h"
20 20
21 using testing::_; 21 using testing::_;
22 using testing::DoAll; 22 using testing::DoAll;
23 using testing::Mock; 23 using testing::Mock;
24 using testing::SaveArg; 24 using testing::SaveArg;
25 25
26 namespace remoting { 26 namespace remoting {
27 namespace protocol { 27 namespace protocol {
28 28
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 EXPECT_CALL(callback_, OnMessage(_)) 317 EXPECT_CALL(callback_, OnMessage(_))
318 .Times(1) 318 .Times(1)
319 .WillOnce(Invoke(this, &MessageReaderTest::DeleteReader)); 319 .WillOnce(Invoke(this, &MessageReaderTest::DeleteReader));
320 320
321 InitReader(); 321 InitReader();
322 message_loop_.RunUntilIdle(); 322 message_loop_.RunUntilIdle();
323 } 323 }
324 324
325 } // namespace protocol 325 } // namespace protocol
326 } // namespace remoting 326 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/jingle_session_unittest.cc ('k') | remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698