OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include <string> | 8 #include <string> |
6 | 9 |
7 #include "base/bind.h" | 10 #include "base/bind.h" |
8 #include "chromeos/dbus/shill_client_unittest_base.h" | 11 #include "chromeos/dbus/shill_client_unittest_base.h" |
9 #include "chromeos/dbus/shill_third_party_vpn_driver_client.h" | 12 #include "chromeos/dbus/shill_third_party_vpn_driver_client.h" |
10 #include "chromeos/dbus/shill_third_party_vpn_observer.h" | 13 #include "chromeos/dbus/shill_third_party_vpn_observer.h" |
11 #include "third_party/cros_system_api/dbus/service_constants.h" | 14 #include "third_party/cros_system_api/dbus/service_constants.h" |
12 | 15 |
13 using testing::_; | 16 using testing::_; |
14 | 17 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 client_->SendPacket( | 186 client_->SendPacket( |
184 kExampleIPConfigPath, data, | 187 kExampleIPConfigPath, data, |
185 base::Bind(&ShillThirdPartyVpnDriverClientTest::MockSuccess, | 188 base::Bind(&ShillThirdPartyVpnDriverClientTest::MockSuccess, |
186 base::Unretained(this)), | 189 base::Unretained(this)), |
187 base::Bind(&Failure)); | 190 base::Bind(&Failure)); |
188 | 191 |
189 message_loop_.RunUntilIdle(); | 192 message_loop_.RunUntilIdle(); |
190 } | 193 } |
191 | 194 |
192 } // namespace chromeos | 195 } // namespace chromeos |
OLD | NEW |