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

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

Issue 6465005: [Sync] Initial support for encrypting any datatype (no UI hookup yet). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback and fix windows crash. Created 9 years, 10 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 nigori keys. 5 // Sync protocol datatype extension for nigori keys.
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";
(...skipping 16 matching lines...) Expand all
27 message NigoriKeyBag { 27 message NigoriKeyBag {
28 repeated NigoriKey key = 2; 28 repeated NigoriKey key = 2;
29 } 29 }
30 30
31 // Properties of nigori sync object. 31 // Properties of nigori sync object.
32 message NigoriSpecifics { 32 message NigoriSpecifics {
33 optional EncryptedData encrypted = 1; 33 optional EncryptedData encrypted = 1;
34 // True if |encrypted| is encrypted using a passphrase 34 // True if |encrypted| is encrypted using a passphrase
35 // explicitly set by the user. 35 // explicitly set by the user.
36 optional bool using_explicit_passphrase = 2; 36 optional bool using_explicit_passphrase = 2;
37
38 // Booleans corresponding to whether a datatype should be encrypted.
39 optional bool encrypt_bookmarks = 3;
40 optional bool encrypt_preferences = 4;
41 optional bool encrypt_passwords = 5;
tim (not reviewing) 2011/02/15 19:58:04 I don't think we want this bool? You can't have p
Nicolas Zea 2011/02/15 23:30:51 Done.
42 optional bool encrypt_autofill_profile = 6;
43 optional bool encrypt_autofill = 7;
44 optional bool encrypt_themes = 8;
45 optional bool encrypt_typed_urls = 9;
46 optional bool encrypt_extensions = 10;
47 optional bool encrypt_sessions = 11;
48 optional bool encrypt_apps = 12;
37 } 49 }
38 50
39 extend EntitySpecifics { 51 extend EntitySpecifics {
40 optional NigoriSpecifics nigori = 47745; 52 optional NigoriSpecifics nigori = 47745;
41 } 53 }
42 54
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698