OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_ | 5 #ifndef COMPONENTS_SYNC_BASE_SYNC_STRING_CONVERSIONS_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_ | 6 #define COMPONENTS_SYNC_BASE_SYNC_STRING_CONVERSIONS_H_ |
7 | 7 |
8 #include "sync/base/sync_export.h" | 8 #include "components/sync/base/sync_export.h" |
9 #include "sync/internal_api/public/connection_status.h" | 9 #include "components/sync/core/connection_status.h" |
10 #include "sync/internal_api/public/sync_encryption_handler.h" | 10 #include "components/sync/core/sync_encryption_handler.h" |
11 | 11 |
12 namespace syncer { | 12 namespace syncer { |
13 | 13 |
14 SYNC_EXPORT const char* ConnectionStatusToString(ConnectionStatus status); | 14 SYNC_EXPORT const char* ConnectionStatusToString(ConnectionStatus status); |
15 | 15 |
16 // Returns the string representation of a PassphraseRequiredReason value. | 16 // Returns the string representation of a PassphraseRequiredReason value. |
17 SYNC_EXPORT const char* PassphraseRequiredReasonToString( | 17 SYNC_EXPORT const char* PassphraseRequiredReasonToString( |
18 PassphraseRequiredReason reason); | 18 PassphraseRequiredReason reason); |
19 | 19 |
20 SYNC_EXPORT const char* PassphraseTypeToString(PassphraseType type); | 20 SYNC_EXPORT const char* PassphraseTypeToString(PassphraseType type); |
21 | 21 |
22 const char* BootstrapTokenTypeToString(BootstrapTokenType type); | 22 const char* BootstrapTokenTypeToString(BootstrapTokenType type); |
23 } // namespace syncer | 23 } // namespace syncer |
24 | 24 |
25 #endif // SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_ | 25 #endif // COMPONENTS_SYNC_BASE_SYNC_STRING_CONVERSIONS_H_ |
OLD | NEW |