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

Side by Side Diff: chromeos/dbus/services/service_provider_test_helper.cc

Issue 947173002: Remove duplicate includes from chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 "chromeos/dbus/services/service_provider_test_helper.h" 5 #include "chromeos/dbus/services/service_provider_test_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "dbus/message.h" 8 #include "dbus/message.h"
9 #include "dbus/mock_bus.h" 9 #include "dbus/mock_bus.h"
10 #include "testing/gmock/include/gmock/gmock.h"
11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "third_party/cros_system_api/dbus/service_constants.h" 10 #include "third_party/cros_system_api/dbus/service_constants.h"
13 11
14 using ::testing::_; 12 using ::testing::_;
15 using ::testing::AllOf; 13 using ::testing::AllOf;
16 using ::testing::Invoke; 14 using ::testing::Invoke;
17 using ::testing::ResultOf; 15 using ::testing::ResultOf;
18 using ::testing::Return; 16 using ::testing::Return;
19 using ::testing::Unused; 17 using ::testing::Unused;
20 18
21 namespace chromeos { 19 namespace chromeos {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 153
156 void ServiceProviderTestHelper::OnResponse( 154 void ServiceProviderTestHelper::OnResponse(
157 scoped_ptr<dbus::Response> response) { 155 scoped_ptr<dbus::Response> response) {
158 response_ = response.Pass(); 156 response_ = response.Pass();
159 response_received_ = true; 157 response_received_ = true;
160 if (message_loop_.is_running()) 158 if (message_loop_.is_running())
161 message_loop_.Quit(); 159 message_loop_.Quit();
162 } 160 }
163 161
164 } // namespace chromeos 162 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/services/proxy_resolution_service_provider.cc ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698