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

Side by Side Diff: chrome/browser/sync/protocol/app_specifics.proto

Issue 7888047: Added Instant preference syncing and tests. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add ability for applications to sync position on NTP Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Sync protocol datatype extension for apps. 5 // Sync protocol datatype extension for apps.
6 6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file. 8 // any fields in this file.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
11 11
12 option optimize_for = LITE_RUNTIME; 12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true; 13 option retain_unknown_fields = true;
14 14
15 package sync_pb; 15 package sync_pb;
16 16
17 import "sync.proto"; 17 import "sync.proto";
18 import "extension_specifics.proto"; 18 import "extension_specifics.proto";
19 19
20 // Properties of app sync objects. 20 // Properties of app sync objects.
21 // 21 //
22 // For now, an app is just an extension. We keep the two data types 22 // For now, an app is just an extension. We keep the two data types
23 // separate for future-proofing purposes. 23 // separate for future-proofing purposes.
24 message AppSpecifics { 24 message AppSpecifics {
25 // Extension data. 25 // Extension data.
26 optional ExtensionSpecifics extension = 1; 26 optional ExtensionSpecifics extension = 1;
27
28 // Position data for the app on the NTP
29 optional int32 app_launch_index = 2;
30 optional int32 page_index = 3;
27 } 31 }
28 32
29 extend EntitySpecifics { 33 extend EntitySpecifics {
30 optional AppSpecifics app = 48364; 34 optional AppSpecifics app = 48364;
31 } 35 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_sync_data.cc ('k') | chrome/browser/sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698