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

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

Issue 597873002: Remove page_ordinal from AppListSpecifics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « sync/protocol/app_list_specifics.proto ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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 #include "sync/protocol/proto_value_conversions.h" 7 #include "sync/protocol/proto_value_conversions.h"
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 return value; 387 return value;
388 } 388 }
389 389
390 base::DictionaryValue* AppListSpecificsToValue( 390 base::DictionaryValue* AppListSpecificsToValue(
391 const sync_pb::AppListSpecifics& proto) { 391 const sync_pb::AppListSpecifics& proto) {
392 base::DictionaryValue* value = new base::DictionaryValue(); 392 base::DictionaryValue* value = new base::DictionaryValue();
393 SET_STR(item_id); 393 SET_STR(item_id);
394 SET_ENUM(item_type, GetAppListItemTypeString); 394 SET_ENUM(item_type, GetAppListItemTypeString);
395 SET_STR(item_name); 395 SET_STR(item_name);
396 SET_STR(parent_id); 396 SET_STR(parent_id);
397 SET_STR(page_ordinal);
398 SET_STR(item_ordinal); 397 SET_STR(item_ordinal);
399 398
400 return value; 399 return value;
401 } 400 }
402 401
403 base::DictionaryValue* AppNotificationToValue( 402 base::DictionaryValue* AppNotificationToValue(
404 const sync_pb::AppNotification& proto) { 403 const sync_pb::AppNotification& proto) {
405 base::DictionaryValue* value = new base::DictionaryValue(); 404 base::DictionaryValue* value = new base::DictionaryValue();
406 SET_STR(guid); 405 SET_STR(guid);
407 SET_STR(app_id); 406 SET_STR(app_id);
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 #undef SET_BYTES 1124 #undef SET_BYTES
1126 #undef SET_INT32 1125 #undef SET_INT32
1127 #undef SET_INT64 1126 #undef SET_INT64
1128 #undef SET_INT64_REP 1127 #undef SET_INT64_REP
1129 #undef SET_STR 1128 #undef SET_STR
1130 #undef SET_STR_REP 1129 #undef SET_STR_REP
1131 1130
1132 #undef SET_FIELD 1131 #undef SET_FIELD
1133 1132
1134 } // namespace syncer 1133 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/protocol/app_list_specifics.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698