summaryrefslogtreecommitdiffstats
path: root/chrome/service
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-12 17:10:58 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-12 17:10:58 +0000
commit8075105cb6bc684ebfe613edd6a9a27384c80d7e (patch)
tree86386ce875a2fd3e08db4fd4cd9f6e9b09c096cb /chrome/service
parent82f4b8292a2bf50213b9ae86399303f907e930e0 (diff)
downloadchromium_src-8075105cb6bc684ebfe613edd6a9a27384c80d7e.zip
chromium_src-8075105cb6bc684ebfe613edd6a9a27384c80d7e.tar.gz
chromium_src-8075105cb6bc684ebfe613edd6a9a27384c80d7e.tar.bz2
base::Bind: Low-hanging fruit conversions of NewRunnableFunction.
BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8536037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109803 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service')
-rw-r--r--chrome/service/cloud_print/cloud_print_proxy.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/service/cloud_print/cloud_print_proxy.cc b/chrome/service/cloud_print/cloud_print_proxy.cc
index a5d0be6..2e22743 100644
--- a/chrome/service/cloud_print/cloud_print_proxy.cc
+++ b/chrome/service/cloud_print/cloud_print_proxy.cc
@@ -4,6 +4,7 @@
#include "chrome/service/cloud_print/cloud_print_proxy.h"
+#include "base/bind.h"
#include "base/command_line.h"
#include "base/path_service.h"
#include "base/process_util.h"
@@ -221,7 +222,7 @@ void CloudPrintProxy::OnAuthenticationFailed() {
// expired (unless error dialogs are disabled).
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoErrorDialogs))
g_service_process->io_thread()->message_loop_proxy()->PostTask(
- FROM_HERE, NewRunnableFunction(&ShowTokenExpiredNotificationInBrowser));
+ FROM_HERE, base::Bind(&ShowTokenExpiredNotificationInBrowser));
}
void CloudPrintProxy::OnPrintSystemUnavailable() {