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

Side by Side Diff: chrome/browser/printing/cloud_print/privet_notifications_unittest.cc

Issue 2136563002: Remove calls to MessageLoop::current() in base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restore dns_config_service_posix_unittest.cc Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "chrome/browser/printing/cloud_print/privet_notifications.h" 5 #include "chrome/browser/printing/cloud_print/privet_notifications.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/message_loop/message_loop.h"
10 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
11 #include "chrome/browser/printing/cloud_print/privet_http_asynchronous_factory.h " 12 #include "chrome/browser/printing/cloud_print/privet_http_asynchronous_factory.h "
12 #include "chrome/browser/printing/cloud_print/privet_http_impl.h" 13 #include "chrome/browser/printing/cloud_print/privet_http_impl.h"
13 #include "net/url_request/test_url_fetcher_factory.h" 14 #include "net/url_request/test_url_fetcher_factory.h"
14 #include "net/url_request/url_request_test_util.h" 15 #include "net/url_request/url_request_test_util.h"
15 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 using testing::StrictMock; 19 using testing::StrictMock;
19 20
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 } 176 }
176 177
177 TEST_F(PrivetNotificationsListenerTest, DictionaryErrorTest) { 178 TEST_F(PrivetNotificationsListenerTest, DictionaryErrorTest) {
178 notification_listener_->DeviceChanged(kExampleDeviceName, description_); 179 notification_listener_->DeviceChanged(kExampleDeviceName, description_);
179 SuccessfulResponseToInfo(kInfoResponseNoUptime); 180 SuccessfulResponseToInfo(kInfoResponseNoUptime);
180 } 181 }
181 182
182 } // namespace 183 } // namespace
183 184
184 } // namespace cloud_print 185 } // namespace cloud_print
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698