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

Side by Side Diff: jingle/notifier/base/xmpp_connection_unittest.cc

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 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
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 "jingle/notifier/base/xmpp_connection.h" 5 #include "jingle/notifier/base/xmpp_connection.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/message_loop/message_pump_default.h" 14 #include "base/message_loop/message_pump_default.h"
15 #include "base/run_loop.h" 15 #include "base/run_loop.h"
16 #include "jingle/glue/mock_task.h" 16 #include "jingle/glue/mock_task.h"
17 #include "jingle/glue/task_pump.h" 17 #include "jingle/glue/task_pump.h"
18 #include "jingle/notifier/base/weak_xmpp_client.h" 18 #include "jingle/notifier/base/weak_xmpp_client.h"
19 #include "net/cert/cert_verifier.h" 19 #include "net/cert/cert_verifier.h"
20 #include "net/url_request/url_request_context_getter.h" 20 #include "net/url_request/url_request_context_getter.h"
21 #include "net/url_request/url_request_test_util.h" 21 #include "net/url_request/url_request_test_util.h"
22 #include "testing/gmock/include/gmock/gmock.h" 22 #include "testing/gmock/include/gmock/gmock.h"
23 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
24 #include "webrtc/libjingle/xmpp/prexmppauth.h" 24 #include "third_party/libjingle_xmpp/xmpp/prexmppauth.h"
25 #include "webrtc/libjingle/xmpp/xmppclientsettings.h" 25 #include "third_party/libjingle_xmpp/xmpp/xmppclientsettings.h"
26 26
27 namespace buzz { 27 namespace buzz {
28 class CaptchaChallenge; 28 class CaptchaChallenge;
29 class Jid; 29 class Jid;
30 } // namespace buzz 30 } // namespace buzz
31 31
32 namespace rtc { 32 namespace rtc {
33 class CryptString; 33 class CryptString;
34 class SocketAddress; 34 class SocketAddress;
35 class Task; 35 class Task;
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 .WillByDefault(Return(TASK_STATE_ERROR)); 250 .WillByDefault(Return(TASK_STATE_ERROR));
251 EXPECT_CALL(*task, ProcessStart()).Times(0); 251 EXPECT_CALL(*task, ProcessStart()).Times(0);
252 task->Start(); 252 task->Start();
253 } 253 }
254 254
255 // This should destroy |task_pump|, but |task| still shouldn't run. 255 // This should destroy |task_pump|, but |task| still shouldn't run.
256 base::RunLoop().RunUntilIdle(); 256 base::RunLoop().RunUntilIdle();
257 } 257 }
258 258
259 } // namespace notifier 259 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/base/xmpp_connection.cc ('k') | jingle/notifier/communicator/connection_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698