| Index: sync/syncable/nigori_util.h
|
| diff --git a/sync/syncable/nigori_util.h b/sync/syncable/nigori_util.h
|
| index 7eefed42f2a6cb539d2778672964dfa7ad542d06..c2f00408240c51de7f720dc2e58dd7d62a44994b 100644
|
| --- a/sync/syncable/nigori_util.h
|
| +++ b/sync/syncable/nigori_util.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright 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.
|
|
|
| @@ -8,6 +8,7 @@
|
| #define SYNC_SYNCABLE_NIGORI_UTIL_H_
|
|
|
| #include "base/compiler_specific.h"
|
| +#include "sync/base/sync_export.h"
|
| #include "sync/internal_api/public/base/model_type.h"
|
| #include "sync/protocol/nigori_specifics.pb.h"
|
|
|
| @@ -33,7 +34,7 @@ class WriteTransaction;
|
| // false if some unsynced changes need to be encrypted.
|
| // This method is similar to ProcessUnsyncedChangesForEncryption but does not
|
| // modify the data and does not care if data is unnecessarily encrypted.
|
| -bool VerifyUnsyncedChangesAreEncrypted(
|
| +SYNC_EXPORT_PRIVATE bool VerifyUnsyncedChangesAreEncrypted(
|
| BaseTransaction* const trans,
|
| ModelTypeSet encrypted_types);
|
|
|
| @@ -49,11 +50,12 @@ bool EntryNeedsEncryption(ModelTypeSet encrypted_types,
|
| const Entry& entry);
|
|
|
| // Same as EntryNeedsEncryption, but looks at specifics.
|
| -bool SpecificsNeedsEncryption(ModelTypeSet encrypted_types,
|
| - const sync_pb::EntitySpecifics& specifics);
|
| +SYNC_EXPORT_PRIVATE bool SpecificsNeedsEncryption(
|
| + ModelTypeSet encrypted_types,
|
| + const sync_pb::EntitySpecifics& specifics);
|
|
|
| // Verifies all data of type |type| is encrypted appropriately.
|
| -bool VerifyDataTypeEncryptionForTest(
|
| +SYNC_EXPORT_PRIVATE bool VerifyDataTypeEncryptionForTest(
|
| BaseTransaction* const trans,
|
| ModelType type,
|
| bool is_encrypted) WARN_UNUSED_RESULT;
|
| @@ -68,9 +70,10 @@ bool UpdateEntryWithEncryption(
|
|
|
| // Updates |nigori| to match the encryption state specified by |encrypted_types|
|
| // and |encrypt_everything|.
|
| -void UpdateNigoriFromEncryptedTypes(ModelTypeSet encrypted_types,
|
| - bool encrypt_everything,
|
| - sync_pb::NigoriSpecifics* nigori);
|
| +SYNC_EXPORT_PRIVATE void UpdateNigoriFromEncryptedTypes(
|
| + ModelTypeSet encrypted_types,
|
| + bool encrypt_everything,
|
| + sync_pb::NigoriSpecifics* nigori);
|
|
|
| // Extracts the set of encrypted types from a nigori node.
|
| ModelTypeSet GetEncryptedTypesFromNigori(
|
|
|