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

Unified Diff: remoting/host/gnubby_util.h

Issue 138753005: Add gnubby authentication to remoting host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another Windows warning Created 6 years, 10 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 | « remoting/host/gnubby_auth_handler_win.cc ('k') | remoting/host/gnubby_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/gnubby_util.h
diff --git a/remoting/host/gnubby_util.h b/remoting/host/gnubby_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..0d888d6ef6dead578e0fd855ade5139ad7e65eb3
--- /dev/null
+++ b/remoting/host/gnubby_util.h
@@ -0,0 +1,30 @@
+// Copyright 2014 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_HOST_GNUBBY_UTIL_H_
+#define REMOTING_HOST_GNUBBY_UTIL_H_
+
+#include <string>
+
+#include "base/basictypes.h"
+
+namespace base {
+
+class DictionaryValue;
+
+} // namespace base
+
+namespace remoting {
+
+// Get a gnubbyd sign request json string from a request blob.
+bool GetJsonFromGnubbyRequest(const char* data,
+ int data_len,
+ std::string* json);
+
+// Get response blob data from a gnubbyd sign reply json string.
+void GetGnubbyResponseFromJson(const std::string& json, std::string* data);
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_GNUBBY_UTIL_H_
« no previous file with comments | « remoting/host/gnubby_auth_handler_win.cc ('k') | remoting/host/gnubby_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698