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

Side by Side Diff: components/proximity_auth/fake_connection.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PROXIMITY_AUTH_FAKE_CONNECTION_H 5 #ifndef COMPONENTS_PROXIMITY_AUTH_FAKE_CONNECTION_H
6 #define COMPONENTS_PROXIMITY_AUTH_FAKE_CONNECTION_H 6 #define COMPONENTS_PROXIMITY_AUTH_FAKE_CONNECTION_H
7 7
8 #include "base/macros.h"
8 #include "components/proximity_auth/connection.h" 9 #include "components/proximity_auth/connection.h"
9 10
10 namespace proximity_auth { 11 namespace proximity_auth {
11 12
12 // A fake implementation of Connection to use in tests. 13 // A fake implementation of Connection to use in tests.
13 class FakeConnection : public Connection { 14 class FakeConnection : public Connection {
14 public: 15 public:
15 FakeConnection(const RemoteDevice& remote_device); 16 FakeConnection(const RemoteDevice& remote_device);
16 ~FakeConnection() override; 17 ~FakeConnection() override;
17 18
(...skipping 26 matching lines...) Expand all
44 // The payload that should be returned when DeserializeWireMessage() is 45 // The payload that should be returned when DeserializeWireMessage() is
45 // called. 46 // called.
46 std::string pending_payload_; 47 std::string pending_payload_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(FakeConnection); 49 DISALLOW_COPY_AND_ASSIGN(FakeConnection);
49 }; 50 };
50 51
51 } // namespace proximity_auth 52 } // namespace proximity_auth
52 53
53 #endif // COMPONENTS_PROXIMITY_AUTH_FAKE_CONNECTION_H 54 #endif // COMPONENTS_PROXIMITY_AUTH_FAKE_CONNECTION_H
OLDNEW
« no previous file with comments | « components/proximity_auth/device_to_device_operations_unittest.cc ('k') | components/proximity_auth/fake_secure_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698