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

Side by Side Diff: jingle/notifier/listener/non_blocking_push_client_unittest.cc

Issue 19607005: Use a direct include of the message_loop header in dbus/, device/, extensions/, google_apis/, gpu/,… (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 "jingle/notifier/listener/non_blocking_push_client.h" 5 #include "jingle/notifier/listener/non_blocking_push_client.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "jingle/notifier/base/fake_base_task.h" 12 #include "jingle/notifier/base/fake_base_task.h"
13 #include "jingle/notifier/listener/fake_push_client.h" 13 #include "jingle/notifier/listener/fake_push_client.h"
14 #include "jingle/notifier/listener/fake_push_client_observer.h" 14 #include "jingle/notifier/listener/fake_push_client_observer.h"
15 #include "jingle/notifier/listener/push_client_observer.h" 15 #include "jingle/notifier/listener/push_client_observer.h"
16 #include "net/url_request/url_request_test_util.h" 16 #include "net/url_request/url_request_test_util.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace notifier { 19 namespace notifier {
20 20
21 namespace { 21 namespace {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 fake_push_client_->SimulateIncomingNotification(notification); 143 fake_push_client_->SimulateIncomingNotification(notification);
144 message_loop_.RunUntilIdle(); 144 message_loop_.RunUntilIdle();
145 EXPECT_TRUE( 145 EXPECT_TRUE(
146 fake_observer_.last_incoming_notification().Equals(notification)); 146 fake_observer_.last_incoming_notification().Equals(notification));
147 } 147 }
148 148
149 } // namespace 149 } // namespace
150 150
151 } // namespace notifier 151 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/communicator/single_login_attempt_unittest.cc ('k') | jingle/notifier/listener/push_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698