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

Unified Diff: remoting/base/auth_token_util.h

Issue 7008003: Wire in OAuth2 support into non-sandboxed connections in libjingle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/base/auth_token_util.cc » ('j') | remoting/base/auth_token_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/auth_token_util.h
diff --git a/remoting/base/auth_token_util.h b/remoting/base/auth_token_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..1c9d7bb0d6861d63f5bff026ae87cc671330e01e
--- /dev/null
+++ b/remoting/base/auth_token_util.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_BASE_AUTH_TOKEN_UTIL_H_
+#define REMOTING_BASE_AUTH_TOKEN_UTIL_H_
+
+#include <string>
+
+namespace remoting {
+
+// Given a string of the form "service:auth_token" parses it into its component
+// pieces.
+void ParseAuthTokenWithService(const std::string& auth_token_with_service,
+ std::string* auth_token,
+ 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
+
+} // namespace remoting
+
+#endif // REMOTING_BASE_AUTH_TOKEN_UTIL_H_
« no previous file with comments | « no previous file | remoting/base/auth_token_util.cc » ('j') | remoting/base/auth_token_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698