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

Side by Side Diff: components/proximity_auth/cryptauth/fake_secure_message_delegate.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 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 #include "components/proximity_auth/cryptauth/fake_secure_message_delegate.h" 5 #include "components/proximity_auth/cryptauth/fake_secure_message_delegate.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/callback.h" 11 #include "base/callback.h"
10 #include "base/md5.h" 12 #include "base/md5.h"
11 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
12 14
13 namespace proximity_auth { 15 namespace proximity_auth {
14 16
15 namespace { 17 namespace {
16 18
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 callback.Run(false, std::string(), securemessage::Header()); 191 callback.Run(false, std::string(), securemessage::Header());
190 } 192 }
191 } 193 }
192 194
193 std::string FakeSecureMessageDelegate::GetPrivateKeyForPublicKey( 195 std::string FakeSecureMessageDelegate::GetPrivateKeyForPublicKey(
194 const std::string& public_key) { 196 const std::string& public_key) {
195 return kPrivateKeyPrefix + public_key; 197 return kPrivateKeyPrefix + public_key;
196 } 198 }
197 199
198 } // namespace proximity_auth 200 } // namespace proximity_auth
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698