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 "auth_service:auth_token" parses it into its |
| 13 // component pieces. |
| 14 void ParseAuthTokenWithService(const std::string& auth_service_with_token, |
| 15 std::string* auth_token, |
| 16 std::string* auth_service); |
| 17 |
| 18 } // namespace remoting |
| 19 |
| 20 #endif // REMOTING_BASE_AUTH_TOKEN_UTIL_H_ |
OLD | NEW |