Blink roll 9cb8a59:1c10331 (svn 181953:181956)
[chromium-blink-merge.git] / remoting / base / auth_token_util.h
blob309a88805dbcc18e3b9957cec752be8f5da78b09
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.
5 #ifndef REMOTING_BASE_AUTH_TOKEN_UTIL_H_
6 #define REMOTING_BASE_AUTH_TOKEN_UTIL_H_
8 #include <string>
10 namespace remoting {
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);
18 } // namespace remoting
20 #endif // REMOTING_BASE_AUTH_TOKEN_UTIL_H_