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

Side by Side Diff: sync/protocol/proto_enum_conversions.h

Issue 674633002: sync: add WIFI_CREDENTIALS protobuf, ModelType, and preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local-master
Patch Set: sync: add WIFI_CREDENTIALS protobuf, ModelType, and preference Created 6 years, 1 month 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
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 SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 5 #ifndef SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
6 #define SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 6 #define SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
7 7
8 // Keep this file in sync with the .proto files in this directory. 8 // Keep this file in sync with the .proto files in this directory.
9 9
10 #include "sync/base/sync_export.h" 10 #include "sync/base/sync_export.h"
(...skipping 18 matching lines...) Expand all
29 SYNC_EXPORT_PRIVATE const char* GetBrowserTypeString( 29 SYNC_EXPORT_PRIVATE const char* GetBrowserTypeString(
30 sync_pb::SessionWindow::BrowserType browser_type); 30 sync_pb::SessionWindow::BrowserType browser_type);
31 31
32 SYNC_EXPORT_PRIVATE const char* GetPageTransitionString( 32 SYNC_EXPORT_PRIVATE const char* GetPageTransitionString(
33 sync_pb::SyncEnums::PageTransition page_transition); 33 sync_pb::SyncEnums::PageTransition page_transition);
34 34
35 SYNC_EXPORT_PRIVATE const char* GetPageTransitionRedirectTypeString( 35 SYNC_EXPORT_PRIVATE const char* GetPageTransitionRedirectTypeString(
36 sync_pb::SyncEnums::PageTransitionRedirectType 36 sync_pb::SyncEnums::PageTransitionRedirectType
37 redirect_type); 37 redirect_type);
38 38
39 SYNC_EXPORT_PRIVATE const char* GetWifiCredentialSecurityClassString(
40 sync_pb::WifiCredentialSpecifics::SecurityClass security_class);
41
39 SYNC_EXPORT const char* GetUpdatesSourceString( 42 SYNC_EXPORT const char* GetUpdatesSourceString(
40 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); 43 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source);
41 44
42 SYNC_EXPORT const char* GetUpdatesOriginString( 45 SYNC_EXPORT const char* GetUpdatesOriginString(
43 sync_pb::SyncEnums::GetUpdatesOrigin origin); 46 sync_pb::SyncEnums::GetUpdatesOrigin origin);
44 47
45 SYNC_EXPORT_PRIVATE const char* GetResponseTypeString( 48 SYNC_EXPORT_PRIVATE const char* GetResponseTypeString(
46 sync_pb::CommitResponse::ResponseType response_type); 49 sync_pb::CommitResponse::ResponseType response_type);
47 50
48 SYNC_EXPORT_PRIVATE const char* GetErrorTypeString( 51 SYNC_EXPORT_PRIVATE const char* GetErrorTypeString(
(...skipping 19 matching lines...) Expand all
68 71
69 const char* GetDisplaySizeString( 72 const char* GetDisplaySizeString(
70 sync_pb::ChromeSyncFolioInfo::DisplaySize display_size); 73 sync_pb::ChromeSyncFolioInfo::DisplaySize display_size);
71 74
72 const char* GetFetchErrorReasonString( 75 const char* GetFetchErrorReasonString(
73 sync_pb::ChromeSyncClip::FetchErrorReason fetch_error_reason); 76 sync_pb::ChromeSyncClip::FetchErrorReason fetch_error_reason);
74 77
75 } // namespace syncer 78 } // namespace syncer
76 79
77 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 80 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698