| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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_HOST_GNUBBY_UTIL_H_ | |
| 6 #define REMOTING_HOST_GNUBBY_UTIL_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/basictypes.h" | |
| 11 | |
| 12 namespace base { | |
| 13 | |
| 14 class DictionaryValue; | |
| 15 | |
| 16 } // namespace base | |
| 17 | |
| 18 namespace remoting { | |
| 19 | |
| 20 // Get a gnubbyd sign request json string from a request blob. | |
| 21 bool GetJsonFromGnubbyRequest(const char* data, | |
| 22 int data_len, | |
| 23 std::string* json); | |
| 24 | |
| 25 // Get response blob data from a gnubbyd sign reply json string. | |
| 26 void GetGnubbyResponseFromJson(const std::string& json, std::string* data); | |
| 27 | |
| 28 } // namespace remoting | |
| 29 | |
| 30 #endif // REMOTING_HOST_GNUBBY_UTIL_H_ | |
| OLD | NEW |