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

Side by Side Diff: sync/internal_api/public/sync_encryption_handler.cc

Issue 10832286: sync: Introduce control data types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add ToFullModelTypeSet() function Created 8 years, 3 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "sync/internal_api/public/sync_encryption_handler.h" 5 #include "sync/internal_api/public/sync_encryption_handler.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 SyncEncryptionHandler::Observer::Observer() {} 9 SyncEncryptionHandler::Observer::Observer() {}
10 SyncEncryptionHandler::Observer::~Observer() {} 10 SyncEncryptionHandler::Observer::~Observer() {}
11 11
12 SyncEncryptionHandler::SyncEncryptionHandler() {} 12 SyncEncryptionHandler::SyncEncryptionHandler() {}
13 SyncEncryptionHandler::~SyncEncryptionHandler() {} 13 SyncEncryptionHandler::~SyncEncryptionHandler() {}
14 14
15 // Static. 15 // Static.
16 ModelTypeSet SyncEncryptionHandler::SensitiveTypes() { 16 ModelTypeSet SyncEncryptionHandler::SensitiveTypes() {
17 // Both of these have their own encryption schemes, but we include them 17 // It has its own encryption scheme, but we include it anyway.
18 // anyways.
19 ModelTypeSet types; 18 ModelTypeSet types;
20 types.Put(PASSWORDS); 19 types.Put(PASSWORDS);
21 types.Put(NIGORI);
22 return types; 20 return types;
23 } 21 }
24 22
25 } // namespace syncer 23 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698