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

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

Issue 101573003: Add the navigation redirect-chain to Sync sessions proto for offline analysis. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android unit test (state_serializer_unittests.cc). Created 6 years, 11 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
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 // Keep this file in sync with the .proto files in this directory. 5 // Keep this file in sync with the .proto files in this directory.
6 6
7 #ifndef SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 7 #ifndef SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
8 #define SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 8 #define SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
9 9
10 #include "sync/base/sync_export.h" 10 #include "sync/base/sync_export.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class ExtensionSpecifics; 42 class ExtensionSpecifics;
43 class FaviconImageSpecifics; 43 class FaviconImageSpecifics;
44 class FaviconTrackingSpecifics; 44 class FaviconTrackingSpecifics;
45 class GlobalIdDirective; 45 class GlobalIdDirective;
46 class HistoryDeleteDirectiveSpecifics; 46 class HistoryDeleteDirectiveSpecifics;
47 class KeystoreEncryptionFlagsSpecifics; 47 class KeystoreEncryptionFlagsSpecifics;
48 class Media; 48 class Media;
49 class ManagedUserSettingSpecifics; 49 class ManagedUserSettingSpecifics;
50 class ManagedUserSharedSettingSpecifics; 50 class ManagedUserSharedSettingSpecifics;
51 class ManagedUserSpecifics; 51 class ManagedUserSpecifics;
52 class NavigationRedirect;
52 class NigoriSpecifics; 53 class NigoriSpecifics;
53 class PasswordSpecifics; 54 class PasswordSpecifics;
54 class PasswordSpecificsData; 55 class PasswordSpecificsData;
55 class PreferenceSpecifics; 56 class PreferenceSpecifics;
56 class PriorityPreferenceSpecifics; 57 class PriorityPreferenceSpecifics;
57 class SearchEngineSpecifics; 58 class SearchEngineSpecifics;
58 class SessionHeader; 59 class SessionHeader;
59 class SessionSpecifics; 60 class SessionSpecifics;
60 class SessionTab; 61 class SessionTab;
61 class SessionWindow; 62 class SessionWindow;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 110
110 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionTabToValue( 111 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionTabToValue(
111 const sync_pb::SessionTab& session_tab); 112 const sync_pb::SessionTab& session_tab);
112 113
113 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionWindowToValue( 114 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionWindowToValue(
114 const sync_pb::SessionWindow& session_window); 115 const sync_pb::SessionWindow& session_window);
115 116
116 SYNC_EXPORT_PRIVATE base::DictionaryValue* TabNavigationToValue( 117 SYNC_EXPORT_PRIVATE base::DictionaryValue* TabNavigationToValue(
117 const sync_pb::TabNavigation& tab_navigation); 118 const sync_pb::TabNavigation& tab_navigation);
118 119
120 SYNC_EXPORT_PRIVATE base::DictionaryValue* NavigationRedirectToValue(
121 const sync_pb::NavigationRedirect& navigation_redirect);
122
119 // Sub-protocol of PasswordSpecifics. 123 // Sub-protocol of PasswordSpecifics.
120 124
121 SYNC_EXPORT_PRIVATE base::DictionaryValue* PasswordSpecificsDataToValue( 125 SYNC_EXPORT_PRIVATE base::DictionaryValue* PasswordSpecificsDataToValue(
122 const sync_pb::PasswordSpecificsData& password_specifics_data); 126 const sync_pb::PasswordSpecificsData& password_specifics_data);
123 127
124 // Sub-protocol of NigoriSpecifics. 128 // Sub-protocol of NigoriSpecifics.
125 129
126 base::DictionaryValue* DeviceInformationToValue( 130 base::DictionaryValue* DeviceInformationToValue(
127 const sync_pb::DeviceInformation& device_information); 131 const sync_pb::DeviceInformation& device_information);
128 132
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 293
290 base::DictionaryValue* ClientConfigParamsToValue( 294 base::DictionaryValue* ClientConfigParamsToValue(
291 const sync_pb::ClientConfigParams& proto); 295 const sync_pb::ClientConfigParams& proto);
292 296
293 SYNC_EXPORT_PRIVATE base::DictionaryValue* SyncAttachmentIdToValue( 297 SYNC_EXPORT_PRIVATE base::DictionaryValue* SyncAttachmentIdToValue(
294 const sync_pb::SyncAttachmentId& proto); 298 const sync_pb::SyncAttachmentId& proto);
295 299
296 } // namespace syncer 300 } // namespace syncer
297 301
298 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 302 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698