diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-22 07:35:26 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-22 07:35:26 +0000 |
commit | 06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd (patch) | |
tree | edcc4117871b482005d719b9fa20d921826929e6 /sync/internal_api/js_sync_manager_observer.cc | |
parent | 855cf34fcf1f41eb7a12afdbae58fec830a1ea9b (diff) | |
download | chromium_src-06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd.zip chromium_src-06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd.tar.gz chromium_src-06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd.tar.bz2 |
[Sync] Rename sync_api to csync
BUG=128060
TEST=
Review URL: https://chromiumcodereview.appspot.com/10601002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143557 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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sync/internal_api/js_sync_manager_observer.cc b/sync/internal_api/js_sync_manager_observer.cc index 149e8f08..21a3ad2 100644 --- a/sync/internal_api/js_sync_manager_observer.cc +++ b/sync/internal_api/js_sync_manager_observer.cc @@ -42,12 +42,12 @@ void JsSyncManagerObserver::OnSyncCycleCompleted( } void JsSyncManagerObserver::OnConnectionStatusChange( - sync_api::ConnectionStatus status) { + csync::ConnectionStatus status) { if (!event_handler_.IsInitialized()) { return; } DictionaryValue details; - details.SetString("status", sync_api::ConnectionStatusToString(status)); + details.SetString("status", csync::ConnectionStatusToString(status)); HandleJsEvent(FROM_HERE, "onConnectionStatusChange", JsEventDetails(&details)); } @@ -62,14 +62,14 @@ void JsSyncManagerObserver::OnUpdatedToken(const std::string& token) { } void JsSyncManagerObserver::OnPassphraseRequired( - sync_api::PassphraseRequiredReason reason, + csync::PassphraseRequiredReason reason, const sync_pb::EncryptedData& pending_keys) { if (!event_handler_.IsInitialized()) { return; } DictionaryValue details; details.SetString("reason", - sync_api::PassphraseRequiredReasonToString(reason)); + csync::PassphraseRequiredReasonToString(reason)); HandleJsEvent(FROM_HERE, "onPassphraseRequired", JsEventDetails(&details)); } |