summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/public/util/sync_string_conversions.h
diff options
context:
space:
mode:
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-26 11:54:26 +0000
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-26 11:54:26 +0000
commit25ae16e2002fa7b2da8803d0690c44c9c5d5d355 (patch)
tree1971d53e29559a49ba3266adf6cd27f158bf7171 /sync/internal_api/public/util/sync_string_conversions.h
parent225b6d78753087dbd3ca0c2aa8a985109ef2fb1a (diff)
downloadchromium_src-25ae16e2002fa7b2da8803d0690c44c9c5d5d355.zip
chromium_src-25ae16e2002fa7b2da8803d0690c44c9c5d5d355.tar.gz
chromium_src-25ae16e2002fa7b2da8803d0690c44c9c5d5d355.tar.bz2
[Sync] Refactor passphrase state handling
We now have an enum describing passphrase state, and cache the current value on the UI thread via a new OnPassphraseStateChanged method. Additionally, we log the OnPassphraseStateChanged event in the debug log info. BUG=139848, 129665 Review URL: https://chromiumcodereview.appspot.com/10824410 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153397 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/public/util/sync_string_conversions.h')
-rw-r--r--sync/internal_api/public/util/sync_string_conversions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sync/internal_api/public/util/sync_string_conversions.h b/sync/internal_api/public/util/sync_string_conversions.h
index 1c55898..9430e38 100644
--- a/sync/internal_api/public/util/sync_string_conversions.h
+++ b/sync/internal_api/public/util/sync_string_conversions.h
@@ -16,6 +16,7 @@ const char* ConnectionStatusToString(ConnectionStatus status);
const char* PassphraseRequiredReasonToString(
PassphraseRequiredReason reason);
+const char* PassphraseStateToString(PassphraseState state);
}
#endif // SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_