diff options
author | albertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 18:36:18 +0000 |
---|---|---|
committer | albertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 18:36:18 +0000 |
commit | ce45c3e6da5a0412cb84c37d662f177a42a442cb (patch) | |
tree | c0a2ae93b464d142189a483c73a345f0fd25846c /chrome/browser/sync/protocol | |
parent | a10d4b1bd7764e9c052527616e2e1c96674badaf (diff) | |
download | chromium_src-ce45c3e6da5a0412cb84c37d662f177a42a442cb.zip chromium_src-ce45c3e6da5a0412cb84c37d662f177a42a442cb.tar.gz chromium_src-ce45c3e6da5a0412cb84c37d662f177a42a442cb.tar.bz2 |
Protocol extension for syncing passwords.
BUG=34176
TEST=none
Review URL: http://codereview.chromium.org/1794009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46720 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/protocol')
-rw-r--r-- | chrome/browser/sync/protocol/password_specifics.proto | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/chrome/browser/sync/protocol/password_specifics.proto b/chrome/browser/sync/protocol/password_specifics.proto new file mode 100644 index 0000000..4d1bc17 --- /dev/null +++ b/chrome/browser/sync/protocol/password_specifics.proto @@ -0,0 +1,40 @@ +// 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 password data. + +syntax = "proto2"; + +option optimize_for = LITE_RUNTIME; + +package sync_pb; + +import "sync.proto"; + +// These are the properties that get serialized into the |blob| field of +// |PasswordSpecifics|. +message PasswordSpecificsData { + optional int32 scheme = 1; + optional string signon_realm = 2; + optional string origin = 3; + optional string action = 4; + optional string username_element = 5; + optional string username_value = 6; + optional string password_element = 7; + optional string password_value = 8; + optional bool ssl_valid = 9; + optional bool preferred = 10; + optional int64 date_created = 11; + optional bool blacklisted = 12; +} + +// Properties of password sync objects. +message PasswordSpecifics { + optional string key = 1; + optional string blob = 2; +} + +extend EntitySpecifics { + optional PasswordSpecifics password = 45873; +} |