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

Side by Side Diff: chromeos/dbus/flimflam_client_unittest_base.cc

Issue 9702014: [UMA] Use proper C++ objects to serialize tracked_objects across process boundaries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix yet another IWYU for chromeos/ (take 4) Created 8 years, 8 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chromeos/dbus/flimflam_ipconfig_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/flimflam_client_unittest_base.h" 5 #include "chromeos/dbus/flimflam_client_unittest_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/values.h"
8 #include "dbus/message.h" 9 #include "dbus/message.h"
9 #include "dbus/object_path.h" 10 #include "dbus/object_path.h"
10 #include "dbus/values_util.h" 11 #include "dbus/values_util.h"
11 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/cros_system_api/dbus/service_constants.h" 14 #include "third_party/cros_system_api/dbus/service_constants.h"
14 15
15 using ::testing::_; 16 using ::testing::_;
16 using ::testing::Invoke; 17 using ::testing::Invoke;
17 using ::testing::Return; 18 using ::testing::Return;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 const dbus::ObjectProxy::ResponseCallback& response_callback) { 174 const dbus::ObjectProxy::ResponseCallback& response_callback) {
174 EXPECT_EQ(interface_name_, method_call->GetInterface()); 175 EXPECT_EQ(interface_name_, method_call->GetInterface());
175 EXPECT_EQ(expected_method_name_, method_call->GetMember()); 176 EXPECT_EQ(expected_method_name_, method_call->GetMember());
176 dbus::MessageReader reader(method_call); 177 dbus::MessageReader reader(method_call);
177 argument_checker_.Run(&reader); 178 argument_checker_.Run(&reader);
178 message_loop_.PostTask(FROM_HERE, 179 message_loop_.PostTask(FROM_HERE,
179 base::Bind(response_callback, response_)); 180 base::Bind(response_callback, response_));
180 } 181 }
181 182
182 } // namespace chromeos 183 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chromeos/dbus/flimflam_ipconfig_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698