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

Unified Diff: chromeos/components/tether/tether_host_fetcher_unittest.cc

Issue 2897843002: Revert of [EasyUnlock] Add beacon_seeds to RemoteDevice. (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/components/tether/tether_host_fetcher.cc ('k') | components/cryptauth/remote_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/components/tether/tether_host_fetcher_unittest.cc
diff --git a/chromeos/components/tether/tether_host_fetcher_unittest.cc b/chromeos/components/tether/tether_host_fetcher_unittest.cc
index aa166ce24d243c34d9c09d52b0dca131644e4f8a..27e7a024b449abc331855e7fc741a79a03b28c48 100644
--- a/chromeos/components/tether/tether_host_fetcher_unittest.cc
+++ b/chromeos/components/tether/tether_host_fetcher_unittest.cc
@@ -92,9 +92,9 @@
nullptr) {}
~MockDeviceLoader() override {}
- MOCK_METHOD2(
+ MOCK_METHOD1(
Load,
- void(bool, const cryptauth::RemoteDeviceLoader::RemoteDeviceCallback&));
+ void(const cryptauth::RemoteDeviceLoader::RemoteDeviceCallback&));
};
std::vector<cryptauth::ExternalDeviceInfo>
@@ -136,14 +136,13 @@
std::unique_ptr<MockDeviceLoader> device_loader =
base::WrapUnique(new NiceMock<MockDeviceLoader>());
- ON_CALL(*device_loader, Load(false, _))
+ ON_CALL(*device_loader, Load(_))
.WillByDefault(
Invoke(this, &TestRemoteDeviceLoaderFactory::MockLoadImpl));
return std::move(device_loader);
}
void MockLoadImpl(
- bool should_load_beacon_seeds,
const cryptauth::RemoteDeviceLoader::RemoteDeviceCallback& callback) {
callback_ = callback;
}
« no previous file with comments | « chromeos/components/tether/tether_host_fetcher.cc ('k') | components/cryptauth/remote_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698