diff options
Diffstat (limited to 'chrome/browser/sync/protocol/nigori_specifics.proto')
-rw-r--r-- | chrome/browser/sync/protocol/nigori_specifics.proto | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/chrome/browser/sync/protocol/nigori_specifics.proto b/chrome/browser/sync/protocol/nigori_specifics.proto new file mode 100644 index 0000000..386bb5a --- /dev/null +++ b/chrome/browser/sync/protocol/nigori_specifics.proto @@ -0,0 +1,35 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Sync protocol datatype extension for nigori keys. + +syntax = "proto2"; + +option optimize_for = LITE_RUNTIME; + +package sync_pb; + +import "encryption.proto"; +import "sync.proto"; + +message NigoriKey { + optional string name = 1; + optional string hostname = 2; + optional string username = 3; + optional string password = 4; +} + +message NigoriKeyBag { + repeated NigoriKey key = 2; +} + +// Properties of nigori sync object. +message NigoriSpecifics { + optional EncryptedData encrypted = 1; +} + +extend EntitySpecifics { + optional NigoriSpecifics nigori = 47745; +} + |