Index: sync/internal_api/public/util/sync_string_conversions.h |
diff --git a/sync/internal_api/public/util/sync_string_conversions.h b/sync/internal_api/public/util/sync_string_conversions.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..45286ca3962f08c677e3c38e37e2215d9b2e070a |
--- /dev/null |
+++ b/sync/internal_api/public/util/sync_string_conversions.h |
@@ -0,0 +1,20 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_ |
+#define SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_ |
+ |
+#include "sync/internal_api/public/sync_manager.h" |
+ |
+namespace syncer { |
+ |
+const char* ConnectionStatusToString(ConnectionStatus status); |
+ |
+// Returns the string representation of a PassphraseRequiredReason value. |
+const char* PassphraseRequiredReasonToString( |
+ PassphraseRequiredReason reason); |
+ |
+} |
+ |
+#endif // SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_ |