diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 19:42:19 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 19:42:19 +0000 |
commit | 0c6c1e43289fc2e225a6c824aff40c9b63b5df78 (patch) | |
tree | 9ab1034e260c5887ecc7a70cd112cef97458582a /sync/internal_api/js_sync_manager_observer.cc | |
parent | ae0c0f6af00c25b6c41c9e37e8cb849de9a9a680 (diff) | |
download | chromium_src-0c6c1e43289fc2e225a6c824aff40c9b63b5df78.zip chromium_src-0c6c1e43289fc2e225a6c824aff40c9b63b5df78.tar.gz chromium_src-0c6c1e43289fc2e225a6c824aff40c9b63b5df78.tar.bz2 |
Add base namespace to more values in sync and elsewhere.
This makes sync and net compile with no "using *Value".
BUG=
Review URL: https://codereview.chromium.org/17034006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/js_sync_manager_observer.cc')
-rw-r--r-- | sync/internal_api/js_sync_manager_observer.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sync/internal_api/js_sync_manager_observer.cc b/sync/internal_api/js_sync_manager_observer.cc index cbc9996..01ddda8 100644 --- a/sync/internal_api/js_sync_manager_observer.cc +++ b/sync/internal_api/js_sync_manager_observer.cc @@ -34,7 +34,7 @@ void JsSyncManagerObserver::OnSyncCycleCompleted( if (!event_handler_.IsInitialized()) { return; } - DictionaryValue details; + base::DictionaryValue details; details.Set("snapshot", snapshot.ToValue()); HandleJsEvent(FROM_HERE, "onSyncCycleCompleted", JsEventDetails(&details)); } @@ -43,7 +43,7 @@ void JsSyncManagerObserver::OnConnectionStatusChange(ConnectionStatus status) { if (!event_handler_.IsInitialized()) { return; } - DictionaryValue details; + base::DictionaryValue details; details.SetString("status", ConnectionStatusToString(status)); HandleJsEvent(FROM_HERE, "onConnectionStatusChange", JsEventDetails(&details)); @@ -53,7 +53,7 @@ void JsSyncManagerObserver::OnUpdatedToken(const std::string& token) { if (!event_handler_.IsInitialized()) { return; } - DictionaryValue details; + base::DictionaryValue details; details.SetString("token", "<redacted>"); HandleJsEvent(FROM_HERE, "onUpdatedToken", JsEventDetails(&details)); } @@ -63,7 +63,7 @@ void JsSyncManagerObserver::OnActionableError( if (!event_handler_.IsInitialized()) { return; } - DictionaryValue details; + base::DictionaryValue details; details.Set("syncError", sync_error.ToValue()); HandleJsEvent(FROM_HERE, "onActionableError", JsEventDetails(&details)); @@ -79,7 +79,7 @@ void JsSyncManagerObserver::OnInitializationComplete( // Ignore the |js_backend| argument; it's not really convertible to // JSON anyway. - DictionaryValue details; + base::DictionaryValue details; details.Set("restoredTypes", ModelTypeSetToValue(restored_types)); HandleJsEvent(FROM_HERE, |