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

Unified Diff: chrome/browser/sync/protocol/nigori_specifics.proto

Issue 9668028: [Sync] Create new top-level sync/ directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/protocol/nigori_specifics.proto
diff --git a/chrome/browser/sync/protocol/nigori_specifics.proto b/chrome/browser/sync/protocol/nigori_specifics.proto
deleted file mode 100644
index 50f50142a2a2986458eede79a53176f5442607ac..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/protocol/nigori_specifics.proto
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2012 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.
-
-// Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
-// any fields in this file.
-
-syntax = "proto2";
-
-option optimize_for = LITE_RUNTIME;
-option retain_unknown_fields = true;
-
-package sync_pb;
-
-import "encryption.proto";
-
-message NigoriKey {
- optional string name = 1;
- optional bytes user_key = 2;
- optional bytes encryption_key = 3;
- optional bytes mac_key = 4;
-}
-
-message NigoriKeyBag {
- repeated NigoriKey key = 2;
-}
-
-// Information about a device that is running a sync-enabled Chrome browser.
-// We are mapping the unique per-device cache guid to more specific information
-// about the device.
-message DeviceInformation {
- optional string cache_guid = 1;
-
- // The name of the device is dependent on the OS running the Chrome instance.
- // On a Chromebook this is "Chromebook", on Linux the distribution name, on
- // Mac OSX the hadware model name and on Windows the computer name.
- optional string name = 2;
-
- // The platform of the device (ChromeOS, Linux, Mac, or Windows).
- optional string platform = 3;
-
- // The Chrome version of the sync-enabled Chrome browser.
- optional string chrome_version = 4;
-}
-
-// Properties of nigori sync object.
-message NigoriSpecifics {
- optional EncryptedData encrypted = 1;
- // True if |encrypted| is encrypted using a passphrase
- // explicitly set by the user.
- optional bool using_explicit_passphrase = 2;
-
- // Obsolete encryption fields. These were deprecated due to legacy versions
- // that understand their usage but did not perform encryption properly.
- // optional bool deprecated_encrypt_bookmarks = 3;
- // optional bool deprecated_encrypt_preferences = 4;
- // optional bool deprecated_encrypt_autofill_profile = 5;
- // optional bool deprecated_encrypt_autofill = 6;
- // optional bool deprecated_encrypt_themes = 7;
- // optional bool deprecated_encrypt_typed_urls = 8;
- // optional bool deprecated_encrypt_extensions = 9;
- // optional bool deprecated_encrypt_sessions = 10;
- // optional bool deprecated_encrypt_apps = 11;
- // optional bool deprecated_encrypt_search_engines = 12;
-
- // Booleans corresponding to whether a datatype should be encrypted.
- // Passwords are always encrypted, so we don't need a field here.
- optional bool encrypt_bookmarks = 13;
- optional bool encrypt_preferences = 14;
- optional bool encrypt_autofill_profile = 15;
- optional bool encrypt_autofill = 16;
- optional bool encrypt_themes = 17;
- optional bool encrypt_typed_urls = 18;
- optional bool encrypt_extensions = 19;
- optional bool encrypt_sessions = 20;
- optional bool encrypt_apps = 21;
- optional bool encrypt_search_engines = 22;
-
- optional bool sync_tabs = 23;
-
- // If true, all current and future datatypes will be encrypted.
- optional bool encrypt_everything = 24;
-
- optional bool encrypt_extension_settings = 25;
- optional bool encrypt_app_notifications = 26;
- optional bool encrypt_app_settings = 27;
-
- // User device information. Contains information about each device that has a
- // sync-enabled Chrome browser connected to the user account.
- repeated DeviceInformation device_information = 28;
-}
-
« no previous file with comments | « chrome/browser/sync/protocol/extension_specifics.proto ('k') | chrome/browser/sync/protocol/password_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698