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

Side by Side Diff: components/proximity_auth/wire_message.cc

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 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 #include "components/proximity_auth/wire_message.h" 5 #include "components/proximity_auth/wire_message.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <limits> 10 #include <limits>
8 11
9 #include "base/base64url.h" 12 #include "base/base64url.h"
10 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
11 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
12 #include "base/macros.h" 15 #include "base/macros.h"
13 #include "base/values.h" 16 #include "base/values.h"
14 #include "components/proximity_auth/logging/logging.h" 17 #include "components/proximity_auth/logging/logging.h"
15 18
16 // The wire messages have a simple format: 19 // The wire messages have a simple format:
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 162 }
160 163
161 WireMessage::WireMessage(const std::string& payload) 164 WireMessage::WireMessage(const std::string& payload)
162 : WireMessage(payload, std::string()) {} 165 : WireMessage(payload, std::string()) {}
163 166
164 WireMessage::WireMessage(const std::string& payload, 167 WireMessage::WireMessage(const std::string& payload,
165 const std::string& permit_id) 168 const std::string& permit_id)
166 : payload_(payload), permit_id_(permit_id) {} 169 : payload_(payload), permit_id_(permit_id) {}
167 170
168 } // namespace proximity_auth 171 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/webui/proximity_auth_webui_handler.h ('k') | components/proximity_auth/wire_message_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698