Home | History | Annotate | Download | only in protocol
      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
      3 // found in the LICENSE file.
      4 //
      5 // Sync protocol datatype extension for apps.
      6 
      7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
      8 // any fields in this file.
      9 
     10 syntax = "proto2";
     11 
     12 option optimize_for = LITE_RUNTIME;
     13 option retain_unknown_fields = true;
     14 
     15 package sync_pb;
     16 
     17 import "sync.proto";
     18 import "extension_specifics.proto";
     19 
     20 // Properties of app sync objects.
     21 //
     22 // For now, an app is just an extension.  We keep the two data types
     23 // separate for future-proofing purposes.
     24 message AppSpecifics {
     25   // Extension data.
     26   optional ExtensionSpecifics extension = 1;
     27 }
     28 
     29 extend EntitySpecifics {
     30   optional AppSpecifics app = 48364;
     31 }
     32