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

Unified Diff: remoting/host/json_host_config.cc

Issue 8493020: Move code in src/remoting to the new callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: - Created 9 years, 1 month 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/host_mock_objects.h ('k') | remoting/host/local_input_monitor_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/json_host_config.cc
diff --git a/remoting/host/json_host_config.cc b/remoting/host/json_host_config.cc
index 2d2c884dc57a6a023a48c31f35b69175754d8e99..66ac912d3b8241962504eb44375d74f6196945bf 100644
--- a/remoting/host/json_host_config.cc
+++ b/remoting/host/json_host_config.cc
@@ -4,6 +4,7 @@
#include "remoting/host/json_host_config.h"
+#include "base/bind.h"
#include "base/file_util.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
@@ -44,7 +45,7 @@ bool JsonHostConfig::Read() {
void JsonHostConfig::Save() {
message_loop_proxy_->PostTask(
- FROM_HERE, NewRunnableMethod(this, &JsonHostConfig::DoWrite));
+ FROM_HERE, base::Bind(&JsonHostConfig::DoWrite, this));
}
void JsonHostConfig::DoWrite() {
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/local_input_monitor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698