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

Unified Diff: chrome/browser/chrome_plugin_browsertest.cc

Issue 2825003002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{a,b,c,d,e,f,g}* (Closed)
Patch Set: split rest of changes to 3 CLs Created 3 years, 8 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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chrome_quota_permission_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_plugin_browsertest.cc
diff --git a/chrome/browser/chrome_plugin_browsertest.cc b/chrome/browser/chrome_plugin_browsertest.cc
index 95f1bda61ff16dd33884a9623d638477d920b360..5e6c17b5c2f6c065d3c4903ef79eb6b4a4ba71c9 100644
--- a/chrome/browser/chrome_plugin_browsertest.cc
+++ b/chrome/browser/chrome_plugin_browsertest.cc
@@ -111,9 +111,8 @@ class ChromePluginTest : public InProcessBrowserTest {
scoped_refptr<content::MessageLoopRunner> runner =
new content::MessageLoopRunner;
BrowserThread::PostTask(
- BrowserThread::IO,
- FROM_HERE,
- base::Bind(&CrashFlashInternal, runner->QuitClosure()));
+ BrowserThread::IO, FROM_HERE,
+ base::BindOnce(&CrashFlashInternal, runner->QuitClosure()));
runner->Run();
}
@@ -142,9 +141,8 @@ class ChromePluginTest : public InProcessBrowserTest {
scoped_refptr<content::MessageLoopRunner> runner =
new content::MessageLoopRunner;
BrowserThread::PostTask(
- BrowserThread::IO,
- FROM_HERE,
- base::Bind(&CountPluginProcesses, &actual, runner->QuitClosure()));
+ BrowserThread::IO, FROM_HERE,
+ base::BindOnce(&CountPluginProcesses, &actual, runner->QuitClosure()));
runner->Run();
ASSERT_EQ(expected, actual);
}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chrome_quota_permission_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698