Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: sync/internal_api/public/util/sync_string_conversions.h

Issue 10824410: [Sync] Refactor passphrase state handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_
6 #define SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_
7 7
8 #include "sync/internal_api/public/sync_encryption_handler.h" 8 #include "sync/internal_api/public/sync_encryption_handler.h"
9 #include "sync/internal_api/public/sync_manager.h" 9 #include "sync/internal_api/public/sync_manager.h"
10 10
11 namespace syncer { 11 namespace syncer {
12 12
13 const char* ConnectionStatusToString(ConnectionStatus status); 13 const char* ConnectionStatusToString(ConnectionStatus status);
14 14
15 // Returns the string representation of a PassphraseRequiredReason value. 15 // Returns the string representation of a PassphraseRequiredReason value.
16 const char* PassphraseRequiredReasonToString( 16 const char* PassphraseRequiredReasonToString(
17 PassphraseRequiredReason reason); 17 PassphraseRequiredReason reason);
18 18
19 const char* PassphraseStateToString(PassphraseState state);
19 } 20 }
20 21
21 #endif // SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_ 22 #endif // SYNC_INTERNAL_API_PUBLIC_UTIL_SYNC_STRING_CONVERSIONS_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/sync_encryption_handler.h ('k') | sync/internal_api/public/util/sync_string_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698