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

Side by Side Diff: components/sync/base/sync_string_conversions.h

Issue 2240613002: [Sync] Convert sync to a static library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try getting rid of sync_core source set. Created 4 years, 4 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
« no previous file with comments | « components/sync/base/sync_export.h ('k') | components/sync/base/syncer_error.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 COMPONENTS_SYNC_BASE_SYNC_STRING_CONVERSIONS_H_ 5 #ifndef COMPONENTS_SYNC_BASE_SYNC_STRING_CONVERSIONS_H_
6 #define COMPONENTS_SYNC_BASE_SYNC_STRING_CONVERSIONS_H_ 6 #define COMPONENTS_SYNC_BASE_SYNC_STRING_CONVERSIONS_H_
7 7
8 #include "components/sync/base/sync_export.h"
9 #include "components/sync/core/connection_status.h" 8 #include "components/sync/core/connection_status.h"
10 #include "components/sync/core/sync_encryption_handler.h" 9 #include "components/sync/core/sync_encryption_handler.h"
11 10
12 namespace syncer { 11 namespace syncer {
13 12
14 SYNC_EXPORT const char* ConnectionStatusToString(ConnectionStatus status); 13 const char* ConnectionStatusToString(ConnectionStatus status);
15 14
16 // Returns the string representation of a PassphraseRequiredReason value. 15 // Returns the string representation of a PassphraseRequiredReason value.
17 SYNC_EXPORT const char* PassphraseRequiredReasonToString( 16 const char* PassphraseRequiredReasonToString(PassphraseRequiredReason reason);
18 PassphraseRequiredReason reason);
19 17
20 SYNC_EXPORT const char* PassphraseTypeToString(PassphraseType type); 18 const char* PassphraseTypeToString(PassphraseType type);
21 19
22 const char* BootstrapTokenTypeToString(BootstrapTokenType type); 20 const char* BootstrapTokenTypeToString(BootstrapTokenType type);
23 } // namespace syncer 21 } // namespace syncer
24 22
25 #endif // COMPONENTS_SYNC_BASE_SYNC_STRING_CONVERSIONS_H_ 23 #endif // COMPONENTS_SYNC_BASE_SYNC_STRING_CONVERSIONS_H_
OLDNEW
« no previous file with comments | « components/sync/base/sync_export.h ('k') | components/sync/base/syncer_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698