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

Unified Diff: content/browser/plugin_service_impl_browsertest.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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: content/browser/plugin_service_impl_browsertest.cc
diff --git a/content/browser/plugin_service_impl_browsertest.cc b/content/browser/plugin_service_impl_browsertest.cc
index 2fc2ca3fd3be1d383dfa5677dd84efa139b7901d..dbf3fee77368de5ee498cb64f071676b05ba9db1 100644
--- a/content/browser/plugin_service_impl_browsertest.cc
+++ b/content/browser/plugin_service_impl_browsertest.cc
@@ -5,6 +5,7 @@
#include "content/browser/plugin_service_impl.h"
#include "base/bind.h"
+#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/path_service.h"
#include "chrome/browser/ui/browser.h"
@@ -148,8 +149,6 @@ class MockCanceledPluginServiceClient : public PluginProcessHost::Client {
DISALLOW_COPY_AND_ASSIGN(MockCanceledPluginServiceClient);
};
-void DoNothing() {}
-
void QuitUIMessageLoopFromIOThread() {
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
MessageLoop::QuitClosure());
@@ -168,7 +167,7 @@ void OpenChannelAndThenCancel(PluginProcessHost::Client* client) {
// the UI thread to stop and exit the test.
BrowserThread::PostTaskAndReply(
BrowserThread::FILE, FROM_HERE,
- base::Bind(&DoNothing),
+ base::Bind(&base::DoNothing),
base::Bind(&QuitUIMessageLoopFromIOThread));
}
« no previous file with comments | « content/browser/net/url_request_abort_on_end_job.cc ('k') | content/browser/renderer_host/async_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698