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

Unified Diff: sync/internal_api/js_sync_encryption_handler_observer.cc

Issue 17034006: Add base namespace to more values in sync and elsewhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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.cc
diff --git a/sync/internal_api/js_sync_encryption_handler_observer.cc b/sync/internal_api/js_sync_encryption_handler_observer.cc
index 2885dd10c225c366626e0794fa8fedecc648dfae..d6bd50ecf587bebc8a21865b846bb141e27f9179 100644
--- a/sync/internal_api/js_sync_encryption_handler_observer.cc
+++ b/sync/internal_api/js_sync_encryption_handler_observer.cc
@@ -35,7 +35,7 @@ void JsSyncEncryptionHandlerObserver::OnPassphraseRequired(
if (!event_handler_.IsInitialized()) {
return;
}
- DictionaryValue details;
+ base::DictionaryValue details;
details.SetString("reason",
PassphraseRequiredReasonToString(reason));
HandleJsEvent(FROM_HERE, "onPassphraseRequired", JsEventDetails(&details));
@@ -45,7 +45,7 @@ void JsSyncEncryptionHandlerObserver::OnPassphraseAccepted() {
if (!event_handler_.IsInitialized()) {
return;
}
- DictionaryValue details;
+ base::DictionaryValue details;
HandleJsEvent(FROM_HERE, "onPassphraseAccepted", JsEventDetails(&details));
}
@@ -55,7 +55,7 @@ void JsSyncEncryptionHandlerObserver::OnBootstrapTokenUpdated(
if (!event_handler_.IsInitialized()) {
return;
}
- DictionaryValue details;
+ base::DictionaryValue details;
details.SetString("bootstrapToken", "<redacted>");
details.SetString("type", BootstrapTokenTypeToString(type));
HandleJsEvent(FROM_HERE, "onBootstrapTokenUpdated", JsEventDetails(&details));
@@ -67,7 +67,7 @@ void JsSyncEncryptionHandlerObserver::OnEncryptedTypesChanged(
if (!event_handler_.IsInitialized()) {
return;
}
- DictionaryValue details;
+ base::DictionaryValue details;
details.Set("encryptedTypes",
ModelTypeSetToValue(encrypted_types));
details.SetBoolean("encryptEverything", encrypt_everything);
@@ -79,7 +79,7 @@ void JsSyncEncryptionHandlerObserver::OnEncryptionComplete() {
if (!event_handler_.IsInitialized()) {
return;
}
- DictionaryValue details;
+ base::DictionaryValue details;
HandleJsEvent(FROM_HERE, "onEncryptionComplete", JsEventDetails());
}
@@ -88,7 +88,7 @@ void JsSyncEncryptionHandlerObserver::OnCryptographerStateChanged(
if (!event_handler_.IsInitialized()) {
return;
}
- DictionaryValue details;
+ base::DictionaryValue details;
details.SetBoolean("ready",
cryptographer->is_ready());
details.SetBoolean("hasPendingKeys",
@@ -104,7 +104,7 @@ void JsSyncEncryptionHandlerObserver::OnPassphraseTypeChanged(
if (!event_handler_.IsInitialized()) {
return;
}
- DictionaryValue details;
+ base::DictionaryValue details;
details.SetString("passphraseType",
PassphraseTypeToString(type));
details.SetInteger("explicitPassphraseTime",
« no previous file with comments | « sync/internal_api/js_mutation_event_observer_unittest.cc ('k') | sync/internal_api/js_sync_manager_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698