| Index: chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc
|
| diff --git a/chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc b/chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc
|
| index 37212c87ffad4331f0bb3691b3ab88ed09a03d3d..6e51c42280a703dd88f17fe6350221970e411202 100644
|
| --- a/chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc
|
| +++ b/chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc
|
| @@ -27,22 +27,22 @@ namespace attestation {
|
| namespace {
|
|
|
| void DBusCallbackFalse(const BoolDBusMethodCallback& callback) {
|
| - MessageLoop::current()->PostTask(
|
| + base::MessageLoop::current()->PostTask(
|
| FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false));
|
| }
|
|
|
| void DBusCallbackTrue(const BoolDBusMethodCallback& callback) {
|
| - MessageLoop::current()->PostTask(
|
| + base::MessageLoop::current()->PostTask(
|
| FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true));
|
| }
|
|
|
| void DBusDataCallback(const CryptohomeClient::DataMethodCallback& callback) {
|
| - MessageLoop::current()->PostTask(
|
| + base::MessageLoop::current()->PostTask(
|
| FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true, "fake"));
|
| }
|
|
|
| void CertCallbackSuccess(const AttestationFlow::CertificateCallback& callback) {
|
| - MessageLoop::current()->PostTask(
|
| + base::MessageLoop::current()->PostTask(
|
| FROM_HERE, base::Bind(callback, true, "fake_cert"));
|
| }
|
|
|
| @@ -51,7 +51,7 @@ void CertCallbackSuccess(const AttestationFlow::CertificateCallback& callback) {
|
| class AttestationPolicyObserverTest : public ::testing::Test {
|
| public:
|
| AttestationPolicyObserverTest()
|
| - : message_loop_(MessageLoop::TYPE_UI),
|
| + : message_loop_(base::MessageLoop::TYPE_UI),
|
| ui_thread_(content::BrowserThread::UI, &message_loop_) {
|
| // Remove the real DeviceSettingsProvider and replace it with a stub.
|
| CrosSettings* cros_settings = CrosSettings::Get();
|
| @@ -78,7 +78,7 @@ class AttestationPolicyObserverTest : public ::testing::Test {
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| - MessageLoop message_loop_;
|
| + base::MessageLoop message_loop_;
|
| content::TestBrowserThread ui_thread_;
|
| ScopedTestDeviceSettingsService test_device_settings_service_;
|
| ScopedTestCrosSettings test_cros_settings_;
|
|
|