Commit 026ef77f authored by csilv@chromium.org's avatar csilv@chromium.org

More base::Bind migrations.

BUG=none
Review URL: http://codereview.chromium.org/8603007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111241 0039d316-1c4b-4281-b951-d872f2087c98
parent 2739e0ec
......@@ -6,6 +6,7 @@
#include <map>
#include "base/bind.h"
#include "base/logging.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
......@@ -187,7 +188,7 @@ PasswordStore::GetLoginsRequest* PasswordStoreWin::NewGetLoginsRequest(
void PasswordStoreWin::Shutdown() {
BrowserThread::PostTask(
BrowserThread::DB, FROM_HERE,
NewRunnableMethod(this, &PasswordStoreWin::ShutdownOnDBThread));
base::Bind(&PasswordStoreWin::ShutdownOnDBThread, this));
PasswordStoreDefault::Shutdown();
}
......
......@@ -5,6 +5,7 @@
#include "chrome/browser/user_style_sheet_watcher.h"
#include "base/base64.h"
#include "base/bind.h"
#include "base/file_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_notification_types.h"
......@@ -117,8 +118,8 @@ void UserStyleSheetLoader::LoadStyleSheet(const FilePath& style_sheet_file) {
}
}
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
NewRunnableMethod(this, &UserStyleSheetLoader::SetStyleSheet,
style_sheet_url));
base::Bind(&UserStyleSheetLoader::SetStyleSheet, this,
style_sheet_url));
}
void UserStyleSheetLoader::SetStyleSheet(const GURL& url) {
......@@ -148,7 +149,7 @@ void UserStyleSheetWatcher::Init() {
// Make sure we run on the file thread.
if (!BrowserThread::CurrentlyOn(BrowserThread::FILE)) {
BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
NewRunnableMethod(this, &UserStyleSheetWatcher::Init));
base::Bind(&UserStyleSheetWatcher::Init, this));
return;
}
......
......@@ -4,6 +4,7 @@
#include "chrome/default_plugin/plugin_install_job_monitor.h"
#include "base/bind.h"
#include "base/message_loop.h"
#include "chrome/default_plugin/plugin_impl.h"
......@@ -41,9 +42,9 @@ bool PluginInstallationJobMonitorThread::Initialize() {
}
void PluginInstallationJobMonitorThread::Init() {
this->message_loop()->PostTask(FROM_HERE,
NewRunnableMethod(this,
&PluginInstallationJobMonitorThread::WaitForJobThread));
this->message_loop()->PostTask(
FROM_HERE,
base::Bind(&PluginInstallationJobMonitorThread::WaitForJobThread, this));
}
void PluginInstallationJobMonitorThread::WaitForJobThread() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment