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

Side by Side Diff: remoting/jingle_glue/iq_sender_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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/memory/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "remoting/jingle_glue/iq_sender.h" 9 #include "remoting/jingle_glue/iq_sender.h"
10 #include "remoting/jingle_glue/mock_objects.h" 10 #include "remoting/jingle_glue/mock_objects.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 13 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
14 #include "third_party/libjingle/source/talk/xmpp/constants.h" 14 #include "third_party/libjingle/source/talk/xmpp/constants.h"
15 15
16 using ::testing::_; 16 using ::testing::_;
17 using ::testing::DeleteArg; 17 using ::testing::DeleteArg;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 QName("test:namespace", "response-body")); 151 QName("test:namespace", "response-body"));
152 response->AddElement(result); 152 response->AddElement(result);
153 153
154 EXPECT_TRUE(sender_->OnSignalStrategyIncomingStanza(response.get())); 154 EXPECT_TRUE(sender_->OnSignalStrategyIncomingStanza(response.get()));
155 155
156 EXPECT_CALL(callback_, OnReply(request_.get(), XmlEq(response.get()))); 156 EXPECT_CALL(callback_, OnReply(request_.get(), XmlEq(response.get())));
157 message_loop_.RunUntilIdle(); 157 message_loop_.RunUntilIdle();
158 } 158 }
159 159
160 } // namespace remoting 160 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/jingle_glue/chromium_socket_factory_unittest.cc ('k') | remoting/jingle_glue/jingle_info_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698