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

Unified Diff: sync/internal_api/js_sync_encryption_handler_observer_unittest.cc

Issue 10916036: [Sync] Implement keystore migration support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 3 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
Index: sync/internal_api/js_sync_encryption_handler_observer_unittest.cc
diff --git a/sync/internal_api/js_sync_encryption_handler_observer_unittest.cc b/sync/internal_api/js_sync_encryption_handler_observer_unittest.cc
index 719744cc5753def1e7246d14425012ae693c7863..dc9932800083763d711166f2ad25599e71d7707e 100644
--- a/sync/internal_api/js_sync_encryption_handler_observer_unittest.cc
+++ b/sync/internal_api/js_sync_encryption_handler_observer_unittest.cc
@@ -153,16 +153,16 @@ TEST_F(JsSyncEncryptionHandlerObserverTest, OnCryptographerStateChanged) {
PumpLoop();
}
-TEST_F(JsSyncEncryptionHandlerObserverTest, OnPassphraseStateChanged) {
+TEST_F(JsSyncEncryptionHandlerObserverTest, OnPassphraseTypeChanged) {
InSequence dummy;
- DictionaryValue passphrase_state_details;
- passphrase_state_details.SetString("passphraseState", "IMPLICIT_PASSPHRASE");
+ DictionaryValue passphrase_type_details;
+ passphrase_type_details.SetString("passphraseType", "IMPLICIT_PASSPHRASE");
EXPECT_CALL(mock_js_event_handler_,
- HandleJsEvent("onPassphraseStateChanged",
- HasDetailsAsDictionary(passphrase_state_details)));
+ HandleJsEvent("onPassphraseTypeChanged",
+ HasDetailsAsDictionary(passphrase_type_details)));
- js_sync_encryption_handler_observer_.OnPassphraseStateChanged(
+ js_sync_encryption_handler_observer_.OnPassphraseTypeChanged(
IMPLICIT_PASSPHRASE);
PumpLoop();
}
« no previous file with comments | « sync/internal_api/js_sync_encryption_handler_observer.cc ('k') | sync/internal_api/public/sync_encryption_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698