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

Unified Diff: sync/internal_api/public/sync_encryption_handler.cc

Issue 10827266: [Sync] Add SyncEncryptionHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 8 years, 4 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
« no previous file with comments | « sync/internal_api/public/sync_encryption_handler.h ('k') | sync/internal_api/public/sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/sync_encryption_handler.cc
diff --git a/sync/internal_api/public/sync_encryption_handler.cc b/sync/internal_api/public/sync_encryption_handler.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d2b1ca2aae40c59f894bed5a7b2b15862f3e3b7c
--- /dev/null
+++ b/sync/internal_api/public/sync_encryption_handler.cc
@@ -0,0 +1,25 @@
+// 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.
+
+#include "sync/internal_api/public/sync_encryption_handler.h"
+
+namespace syncer {
+
+SyncEncryptionHandler::Observer::Observer() {}
+SyncEncryptionHandler::Observer::~Observer() {}
+
+SyncEncryptionHandler::SyncEncryptionHandler() {}
+SyncEncryptionHandler::~SyncEncryptionHandler() {}
+
+// Static.
+ModelTypeSet SyncEncryptionHandler::SensitiveTypes() {
+ // Both of these have their own encryption schemes, but we include them
+ // anyways.
+ ModelTypeSet types;
+ types.Put(PASSWORDS);
+ types.Put(NIGORI);
+ return types;
+}
+
+} // namespace syncer
« no previous file with comments | « sync/internal_api/public/sync_encryption_handler.h ('k') | sync/internal_api/public/sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698