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

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: Created 8 years, 4 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
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_;

Powered by Google App Engine
This is Rietveld 408576698