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

Side by Side Diff: jingle/notifier/communicator/single_login_attempt_unittest.cc

Issue 1974023002: Remove base/thread_task_runner_handle.h dummy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm duplicate Created 4 years, 7 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/communicator/single_login_attempt.h" 5 #include "jingle/notifier/communicator/single_login_attempt.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "jingle/notifier/base/const_communicator.h" 13 #include "jingle/notifier/base/const_communicator.h"
14 #include "jingle/notifier/base/fake_base_task.h" 14 #include "jingle/notifier/base/fake_base_task.h"
15 #include "jingle/notifier/communicator/login_settings.h" 15 #include "jingle/notifier/communicator/login_settings.h"
16 #include "net/dns/mock_host_resolver.h" 16 #include "net/dns/mock_host_resolver.h"
17 #include "net/url_request/url_request_test_util.h" 17 #include "net/url_request/url_request_test_util.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 19 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
20 #include "webrtc/libjingle/xmpp/constants.h" 20 #include "webrtc/libjingle/xmpp/constants.h"
21 #include "webrtc/libjingle/xmpp/xmppengine.h" 21 #include "webrtc/libjingle/xmpp/xmppengine.h"
22 22
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // Fire 'Unauthorized' errors and make sure the delegate gets the 247 // Fire 'Unauthorized' errors and make sure the delegate gets the
248 // OnCredentialsRejected() event. 248 // OnCredentialsRejected() event.
249 TEST_F(SingleLoginAttemptTest, CredentialsRejected) { 249 TEST_F(SingleLoginAttemptTest, CredentialsRejected) {
250 attempt_->OnError(buzz::XmppEngine::ERROR_UNAUTHORIZED, 0, NULL); 250 attempt_->OnError(buzz::XmppEngine::ERROR_UNAUTHORIZED, 0, NULL);
251 EXPECT_EQ(CREDENTIALS_REJECTED, fake_delegate_.state()); 251 EXPECT_EQ(CREDENTIALS_REJECTED, fake_delegate_.state());
252 } 252 }
253 253
254 } // namespace 254 } // namespace
255 255
256 } // namespace notifier 256 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/glue/proxy_resolving_client_socket_unittest.cc ('k') | jingle/notifier/listener/non_blocking_push_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698