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

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

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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/fake_debug_daemon_client.cc ('k') | chromeos/dbus/fake_gsm_sms_client.h » ('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 "base/macros.h"
10 #include "chromeos/dbus/easy_unlock_client.h" 11 #include "chromeos/dbus/easy_unlock_client.h"
11 12
12 namespace chromeos { 13 namespace chromeos {
13 14
14 // A fake implemetation of EasyUnlockClient. 15 // A fake implemetation of EasyUnlockClient.
15 class CHROMEOS_EXPORT FakeEasyUnlockClient : public EasyUnlockClient { 16 class CHROMEOS_EXPORT FakeEasyUnlockClient : public EasyUnlockClient {
16 public: 17 public:
17 // Tests if the provided keys belong to the same (fake) EC P256 key pair 18 // Tests if the provided keys belong to the same (fake) EC P256 key pair
18 // generated by |this|. 19 // generated by |this|.
19 static bool IsEcP256KeyPair(const std::string& private_key, 20 static bool IsEcP256KeyPair(const std::string& private_key,
(...skipping 20 matching lines...) Expand all
40 41
41 private: 42 private:
42 int generated_keys_count_; 43 int generated_keys_count_;
43 44
44 DISALLOW_COPY_AND_ASSIGN(FakeEasyUnlockClient); 45 DISALLOW_COPY_AND_ASSIGN(FakeEasyUnlockClient);
45 }; 46 };
46 47
47 } // namespace chromeos 48 } // namespace chromeos
48 49
49 #endif // CHROMEOS_DBUS_FAKE_EASY_UNLOCK_CLIENT_H_ 50 #endif // CHROMEOS_DBUS_FAKE_EASY_UNLOCK_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_debug_daemon_client.cc ('k') | chromeos/dbus/fake_gsm_sms_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698