forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-land the protocol extension for syncing passwords patch.
BUG=34176 TEST=none Review URL: http://codereview.chromium.org/2024006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46747 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
albertb@chromium.org
committed
May 7, 2010
1 parent
1056b6c
commit 58fe019
Showing
8 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters