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

Side by Side Diff: components/sync/engine/sync_encryption_handler.h

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef COMPONENTS_SYNC_CORE_SYNC_ENCRYPTION_HANDLER_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_SYNC_ENCRYPTION_HANDLER_H_
6 #define COMPONENTS_SYNC_CORE_SYNC_ENCRYPTION_HANDLER_H_ 6 #define COMPONENTS_SYNC_ENGINE_SYNC_ENCRYPTION_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "components/sync/base/model_type.h" 11 #include "components/sync/base/model_type.h"
12 #include "components/sync/protocol/sync.pb.h" 12 #include "components/sync/protocol/sync.pb.h"
13 13
14 namespace syncer { 14 namespace syncer {
15 15
16 class Cryptographer; 16 class Cryptographer;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Whether encryption of all datatypes is enabled. If false, only sensitive 165 // Whether encryption of all datatypes is enabled. If false, only sensitive
166 // types are encrypted. 166 // types are encrypted.
167 virtual bool IsEncryptEverythingEnabled() const = 0; 167 virtual bool IsEncryptEverythingEnabled() const = 0;
168 168
169 // The set of types that are always encrypted. 169 // The set of types that are always encrypted.
170 static ModelTypeSet SensitiveTypes(); 170 static ModelTypeSet SensitiveTypes();
171 }; 171 };
172 172
173 } // namespace syncer 173 } // namespace syncer
174 174
175 #endif // COMPONENTS_SYNC_CORE_SYNC_ENCRYPTION_HANDLER_H_ 175 #endif // COMPONENTS_SYNC_ENGINE_SYNC_ENCRYPTION_HANDLER_H_
OLDNEW
« no previous file with comments | « components/sync/engine/sync_auth_provider.h ('k') | components/sync/engine/sync_encryption_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698