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

Side by Side Diff: jingle/notifier/listener/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/push_client.h" 5 #include "jingle/notifier/listener/push_client.h"
6 6
7 #include "base/bind_helpers.h" 7 #include "base/bind_helpers.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/location.h" 9 #include "base/location.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 "base/threading/thread.h" 12 #include "base/threading/thread.h"
13 #include "jingle/notifier/base/notifier_options.h" 13 #include "jingle/notifier/base/notifier_options.h"
14 #include "net/url_request/url_request_test_util.h" 14 #include "net/url_request/url_request_test_util.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace notifier { 17 namespace notifier {
18 18
19 namespace { 19 namespace {
20 20
21 class PushClientTest : public testing::Test { 21 class PushClientTest : public testing::Test {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // Make sure calling CreateDefaultOnIOThread on the IO thread doesn't 53 // Make sure calling CreateDefaultOnIOThread on the IO thread doesn't
54 // blow up. 54 // blow up.
55 TEST_F(PushClientTest, CreateDefaultOnIOThreadOnIOThread) { 55 TEST_F(PushClientTest, CreateDefaultOnIOThreadOnIOThread) {
56 const scoped_ptr<PushClient> push_client( 56 const scoped_ptr<PushClient> push_client(
57 PushClient::CreateDefaultOnIOThread(notifier_options_)); 57 PushClient::CreateDefaultOnIOThread(notifier_options_));
58 } 58 }
59 59
60 } // namespace 60 } // namespace
61 61
62 } // namespace notifier 62 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/listener/non_blocking_push_client_unittest.cc ('k') | jingle/notifier/listener/xmpp_push_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698