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

Unified Diff: remoting/host/json_host_config.h

Issue 10855249: [Chromoting] The daemon process now starts the networking process and passes the host configuration… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing signal.h Created 8 years, 3 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/daemon_process_win.cc ('k') | remoting/host/json_host_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/json_host_config.h
diff --git a/remoting/host/json_host_config.h b/remoting/host/json_host_config.h
index 014e148bbd168c2f8742897ef3abd57dc0648161..c0148cca32af3ccacb359ccbbddf43a518eb81bb 100644
--- a/remoting/host/json_host_config.h
+++ b/remoting/host/json_host_config.h
@@ -29,6 +29,10 @@ class JsonHostConfig : public InMemoryHostConfig {
std::string GetSerializedData();
+ // Sets the configuration from serialized JSON data. Returns false if the data
+ // could not be parsed.
+ bool SetSerializedData(const std::string& config);
+
private:
FilePath filename_;
« no previous file with comments | « remoting/host/daemon_process_win.cc ('k') | remoting/host/json_host_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698