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

Side by Side Diff: remoting/protocol/auth_util.h

Issue 14272007: Update the remaining include paths of base/string_piece.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « printing/backend/print_backend_win.cc ('k') | tools/android/forwarder2/command.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 REMOTING_PROTOCOL_AUTH_UTIL_H_ 5 #ifndef REMOTING_PROTOCOL_AUTH_UTIL_H_
6 #define REMOTING_PROTOCOL_AUTH_UTIL_H_ 6 #define REMOTING_PROTOCOL_AUTH_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/string_piece.h" 10 #include "base/strings/string_piece.h"
11 11
12 namespace net { 12 namespace net {
13 class SSLSocket; 13 class SSLSocket;
14 } // namespace net 14 } // namespace net
15 15
16 namespace remoting { 16 namespace remoting {
17 namespace protocol { 17 namespace protocol {
18 18
19 // Labels for use when exporting the SSL master keys. 19 // Labels for use when exporting the SSL master keys.
20 extern const char kClientAuthSslExporterLabel[]; 20 extern const char kClientAuthSslExporterLabel[];
(...skipping 24 matching lines...) Expand all
45 // Returns authentication bytes that must be used for the given 45 // Returns authentication bytes that must be used for the given
46 // |socket|. Empty string is returned in case of failure. 46 // |socket|. Empty string is returned in case of failure.
47 std::string GetAuthBytes(net::SSLSocket* socket, 47 std::string GetAuthBytes(net::SSLSocket* socket,
48 const base::StringPiece& label, 48 const base::StringPiece& label,
49 const base::StringPiece& shared_secret); 49 const base::StringPiece& shared_secret);
50 50
51 } // namespace protocol 51 } // namespace protocol
52 } // namespace remoting 52 } // namespace remoting
53 53
54 #endif // REMOTING_PROTOCOL_AUTH_UTIL_H_ 54 #endif // REMOTING_PROTOCOL_AUTH_UTIL_H_
OLDNEW
« no previous file with comments | « printing/backend/print_backend_win.cc ('k') | tools/android/forwarder2/command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698