Convert all of remoting/* to base::Bind().
Removing base/task.h also.
BUG=none
TEST=existing.
Review URL: http://codereview.chromium.org/8994015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115074 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
index f366a08..7ce925b 100644
--- a/remoting/host/chromoting_host_unittest.cc
+++ b/remoting/host/chromoting_host_unittest.cc
@@ -5,7 +5,6 @@
#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop_proxy.h"
-#include "base/task.h"
#include "remoting/host/capturer_fake.h"
#include "remoting/host/chromoting_host.h"
#include "remoting/host/chromoting_host_context.h"
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index df75407..c358508 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -7,7 +7,6 @@
#include <algorithm>
#include "base/message_loop_proxy.h"
-#include "base/task.h"
#include "remoting/host/capturer.h"
#include "remoting/proto/event.pb.h"
diff --git a/remoting/host/event_executor_linux.cc b/remoting/host/event_executor_linux.cc
index cfbd71b..0455925 100644
--- a/remoting/host/event_executor_linux.cc
+++ b/remoting/host/event_executor_linux.cc
@@ -14,7 +14,6 @@
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/message_loop.h"
-#include "base/task.h"
#include "remoting/proto/internal.pb.h"
namespace remoting {
diff --git a/remoting/host/event_executor_mac.cc b/remoting/host/event_executor_mac.cc
index 6844df0c..cb6583248 100644
--- a/remoting/host/event_executor_mac.cc
+++ b/remoting/host/event_executor_mac.cc
@@ -11,7 +11,6 @@
#include "base/compiler_specific.h"
#include "base/mac/scoped_cftyperef.h"
#include "base/message_loop.h"
-#include "base/task.h"
#include "remoting/host/capturer.h"
#include "remoting/proto/internal.pb.h"
#include "remoting/protocol/message_decoder.h"
diff --git a/remoting/host/host_key_pair.cc b/remoting/host/host_key_pair.cc
index 4f81aa8..7427471 100644
--- a/remoting/host/host_key_pair.cc
+++ b/remoting/host/host_key_pair.cc
@@ -11,7 +11,6 @@
#include "base/base64.h"
#include "base/logging.h"
#include "base/rand_util.h"
-#include "base/task.h"
#include "base/time.h"
#include "crypto/rsa_private_key.h"
#include "crypto/signature_creator.h"
diff --git a/remoting/host/host_key_pair.h b/remoting/host/host_key_pair.h
index 41a5420..6fd74f3 100644
--- a/remoting/host/host_key_pair.h
+++ b/remoting/host/host_key_pair.h
@@ -9,7 +9,6 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "base/task.h"
namespace crypto {
class RSAPrivateKey;
diff --git a/remoting/host/in_memory_host_config.cc b/remoting/host/in_memory_host_config.cc
index 253b563..4df3ada 100644
--- a/remoting/host/in_memory_host_config.cc
+++ b/remoting/host/in_memory_host_config.cc
@@ -1,10 +1,9 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
#include "remoting/host/in_memory_host_config.h"
-#include "base/task.h"
#include "base/values.h"
namespace remoting {
diff --git a/remoting/host/json_host_config.cc b/remoting/host/json_host_config.cc
index 66ac912..97f1d748 100644
--- a/remoting/host/json_host_config.cc
+++ b/remoting/host/json_host_config.cc
@@ -11,7 +11,6 @@
#include "base/location.h"
#include "base/message_loop_proxy.h"
#include "base/synchronization/lock.h"
-#include "base/task.h"
#include "base/values.h"
namespace remoting {
diff --git a/remoting/host/screen_recorder.cc b/remoting/host/screen_recorder.cc
index 0098a0a0..8aa333f 100644
--- a/remoting/host/screen_recorder.cc
+++ b/remoting/host/screen_recorder.cc
@@ -7,12 +7,12 @@
#include <algorithm>
#include "base/bind.h"
+#include "base/callback.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop_proxy.h"
#include "base/stl_util.h"
#include "base/sys_info.h"
-#include "base/task.h"
#include "base/time.h"
#include "remoting/base/capture_data.h"
#include "remoting/proto/control.pb.h"
diff --git a/remoting/host/screen_recorder_unittest.cc b/remoting/host/screen_recorder_unittest.cc
index 4a35cec..ae9e6362 100644
--- a/remoting/host/screen_recorder_unittest.cc
+++ b/remoting/host/screen_recorder_unittest.cc
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "base/message_loop.h"
-#include "base/task.h"
#include "remoting/base/base_mock_objects.h"
#include "remoting/host/host_mock_objects.h"
#include "remoting/proto/video.pb.h"