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

Unified Diff: components/sync_driver/data_type_encryption_handler.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 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
Index: components/sync_driver/data_type_encryption_handler.h
diff --git a/components/sync_driver/data_type_encryption_handler.h b/components/sync_driver/data_type_encryption_handler.h
deleted file mode 100644
index da37a9ab97645d75018e2627aeb64880ccf03dcb..0000000000000000000000000000000000000000
--- a/components/sync_driver/data_type_encryption_handler.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef COMPONENTS_SYNC_DRIVER_DATA_TYPE_ENCRYPTION_HANDLER_H_
-#define COMPONENTS_SYNC_DRIVER_DATA_TYPE_ENCRYPTION_HANDLER_H_
-
-#include "components/sync/base/model_type.h"
-
-namespace sync_driver {
-
-// The DataTypeEncryptionHandler provides the status of datatype encryption.
-class DataTypeEncryptionHandler {
- public:
- DataTypeEncryptionHandler();
- virtual ~DataTypeEncryptionHandler();
-
- // Returns true if a passphrase is required for encryption to proceed, false
- // otherwise.
- virtual bool IsPassphraseRequired() const = 0;
-
- // Returns the current set of encrypted data types.
- virtual syncer::ModelTypeSet GetEncryptedDataTypes() const = 0;
-};
-
-} // namespace sync_driver
-
-#endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_ENCRYPTION_HANDLER_H_
« no previous file with comments | « components/sync_driver/data_type_controller_mock.cc ('k') | components/sync_driver/data_type_encryption_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698