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

Side by Side Diff: remoting/host/host_change_notification_listener_unittest.cc

Issue 390983003: Remove remoting/jingle_glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « remoting/host/host_change_notification_listener.cc ('k') | remoting/host/host_status_logger.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "remoting/host/host_change_notification_listener.h" 5 #include "remoting/host/host_change_notification_listener.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "remoting/base/constants.h" 13 #include "remoting/base/constants.h"
14 #include "remoting/jingle_glue/mock_objects.h" 14 #include "remoting/signaling/mock_signal_strategy.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 17 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
18 #include "third_party/libjingle/source/talk/xmpp/constants.h" 18 #include "third_party/libjingle/source/talk/xmpp/constants.h"
19 19
20 using buzz::QName; 20 using buzz::QName;
21 using buzz::XmlElement; 21 using buzz::XmlElement;
22 22
23 using testing::NotNull; 23 using testing::NotNull;
24 using testing::Return; 24 using testing::Return;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 scoped_ptr<XmlElement> stanza = GetNotificationStanza( 144 scoped_ptr<XmlElement> stanza = GetNotificationStanza(
145 "update", kHostId, kTestBotJid); 145 "update", kHostId, kTestBotJid);
146 host_change_notification_listener_->OnSignalStrategyIncomingStanza( 146 host_change_notification_listener_->OnSignalStrategyIncomingStanza(
147 stanza.get()); 147 stanza.get());
148 message_loop_.PostTask(FROM_HERE, 148 message_loop_.PostTask(FROM_HERE,
149 base::Bind(base::MessageLoop::QuitClosure())); 149 base::Bind(base::MessageLoop::QuitClosure()));
150 message_loop_.Run(); 150 message_loop_.Run();
151 } 151 }
152 152
153 } // namespace remoting 153 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_change_notification_listener.cc ('k') | remoting/host/host_status_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698