Index: components/sync/core_impl/js_sync_encryption_handler_observer_unittest.cc |
diff --git a/components/sync/core_impl/js_sync_encryption_handler_observer_unittest.cc b/components/sync/core_impl/js_sync_encryption_handler_observer_unittest.cc |
index 69737eb375796775a48f5967fce3d2a5a7cbe431..49a3a1428da8fd9a2b5612a3c3a863899496be34 100644 |
--- a/components/sync/core_impl/js_sync_encryption_handler_observer_unittest.cc |
+++ b/components/sync/core_impl/js_sync_encryption_handler_observer_unittest.cc |
@@ -149,14 +149,15 @@ TEST_F(JsSyncEncryptionHandlerObserverTest, OnPassphraseTypeChanged) { |
InSequence dummy; |
base::DictionaryValue passphrase_type_details; |
- passphrase_type_details.SetString("passphraseType", "IMPLICIT_PASSPHRASE"); |
+ passphrase_type_details.SetString("passphraseType", |
+ "PassphraseType::IMPLICIT_PASSPHRASE"); |
passphrase_type_details.SetInteger("explicitPassphraseTime", 10); |
EXPECT_CALL(mock_js_event_handler_, |
HandleJsEvent("onPassphraseTypeChanged", |
HasDetailsAsDictionary(passphrase_type_details))); |
js_sync_encryption_handler_observer_.OnPassphraseTypeChanged( |
- IMPLICIT_PASSPHRASE, ProtoTimeToTime(10)); |
+ PassphraseType::IMPLICIT_PASSPHRASE, ProtoTimeToTime(10)); |
PumpLoop(); |
} |