OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_BASE_AUTH_TOKEN_UTIL_H_ | |
6 #define REMOTING_BASE_AUTH_TOKEN_UTIL_H_ | |
7 | |
8 #include <string> | |
9 | |
10 namespace remoting { | |
11 | |
12 // Given a string of the form "service:auth_token" parses it into its component | |
13 // pieces. | |
14 void ParseAuthTokenWithService(const std::string& auth_token_with_service, | |
15 std::string* auth_token, | |
16 std::string* auth_service); | |
Wez
2011/05/25 03:57:46
|auth_service|->|service| to match the description
awong
2011/05/25 16:56:56
I'm not sure this is the right way to generalize y
| |
17 | |
18 } // namespace remoting | |
19 | |
20 #endif // REMOTING_BASE_AUTH_TOKEN_UTIL_H_ | |
OLD | NEW |