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

Side by Side Diff: chromeos/dbus/fake_easy_unlock_client.h

Issue 577443004: Revert of Minor cleanup in EasyUnlockClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « chromeos/dbus/easy_unlock_client.cc ('k') | chromeos/dbus/fake_easy_unlock_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMEOS_DBUS_FAKE_EASY_UNLOCK_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_EASY_UNLOCK_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_EASY_UNLOCK_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_EASY_UNLOCK_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chromeos/dbus/easy_unlock_client.h" 10 #include "chromeos/dbus/easy_unlock_client.h"
(...skipping 11 matching lines...) Expand all
22 FakeEasyUnlockClient(); 22 FakeEasyUnlockClient();
23 virtual ~FakeEasyUnlockClient(); 23 virtual ~FakeEasyUnlockClient();
24 24
25 // EasyUnlockClient overrides 25 // EasyUnlockClient overrides
26 virtual void Init(dbus::Bus* bus) OVERRIDE; 26 virtual void Init(dbus::Bus* bus) OVERRIDE;
27 virtual void GenerateEcP256KeyPair(const KeyPairCallback& callback) OVERRIDE; 27 virtual void GenerateEcP256KeyPair(const KeyPairCallback& callback) OVERRIDE;
28 virtual void PerformECDHKeyAgreement(const std::string& private_key, 28 virtual void PerformECDHKeyAgreement(const std::string& private_key,
29 const std::string& public_key, 29 const std::string& public_key,
30 const DataCallback& callback) OVERRIDE; 30 const DataCallback& callback) OVERRIDE;
31 virtual void CreateSecureMessage(const std::string& payload, 31 virtual void CreateSecureMessage(const std::string& payload,
32 const CreateSecureMessageOptions& options, 32 const std::string& key,
33 const std::string& associated_data,
34 const std::string& public_metadata,
35 const std::string& verification_key_id,
36 const std::string& decryption_key_id,
37 const std::string& encryption_type,
38 const std::string& signature_type,
33 const DataCallback& callback) OVERRIDE; 39 const DataCallback& callback) OVERRIDE;
34 virtual void UnwrapSecureMessage(const std::string& message, 40 virtual void UnwrapSecureMessage(const std::string& message,
35 const UnwrapSecureMessageOptions& options, 41 const std::string& key,
42 const std::string& associated_data,
43 const std::string& encryption_type,
44 const std::string& signature_type,
36 const DataCallback& callback) OVERRIDE; 45 const DataCallback& callback) OVERRIDE;
37 46
38 private: 47 private:
39 int generated_keys_count_; 48 int generated_keys_count_;
40 49
41 DISALLOW_COPY_AND_ASSIGN(FakeEasyUnlockClient); 50 DISALLOW_COPY_AND_ASSIGN(FakeEasyUnlockClient);
42 }; 51 };
43 52
44 } // namespace chromeos 53 } // namespace chromeos
45 54
46 #endif // CHROMEOS_DBUS_FAKE_EASY_UNLOCK_CLIENT_H_ 55 #endif // CHROMEOS_DBUS_FAKE_EASY_UNLOCK_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/easy_unlock_client.cc ('k') | chromeos/dbus/fake_easy_unlock_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698