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

Side by Side Diff: components/sync/test/fake_sync_encryption_handler.cc

Issue 2260953002: Supplimentary identifier for passwords specific (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 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
« no previous file with comments | « components/sync/test/fake_sync_encryption_handler.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "components/sync/test/fake_sync_encryption_handler.h" 5 #include "components/sync/test/fake_sync_encryption_handler.h"
6 6
7 #include "components/sync/base/passphrase_type.h" 7 #include "components/sync/base/passphrase_type.h"
8 #include "components/sync/protocol/nigori_specifics.pb.h" 8 #include "components/sync/protocol/nigori_specifics.pb.h"
9 #include "components/sync/syncable/nigori_util.h" 9 #include "components/sync/syncable/nigori_util.h"
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 encrypted_types_ = ModelTypeSet::All(); 112 encrypted_types_ = ModelTypeSet::All();
113 FOR_EACH_OBSERVER( 113 FOR_EACH_OBSERVER(
114 Observer, observers_, 114 Observer, observers_,
115 OnEncryptedTypesChanged(encrypted_types_, encrypt_everything_)); 115 OnEncryptedTypesChanged(encrypted_types_, encrypt_everything_));
116 } 116 }
117 117
118 bool FakeSyncEncryptionHandler::IsEncryptEverythingEnabled() const { 118 bool FakeSyncEncryptionHandler::IsEncryptEverythingEnabled() const {
119 return encrypt_everything_; 119 return encrypt_everything_;
120 } 120 }
121 121
122 PassphraseType FakeSyncEncryptionHandler::GetPassphraseType() const { 122 PassphraseType FakeSyncEncryptionHandler::GetPassphraseType(
123 syncable::BaseTransaction* const trans) const {
123 return passphrase_type_; 124 return passphrase_type_;
124 } 125 }
125 126
126 } // namespace syncer 127 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/test/fake_sync_encryption_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698