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

Unified Diff: chrome/browser/password_manager/password_store_x_unittest.cc

Issue 8354028: Use base::IgnoreReturn<bool>( instead of base::IgnoreReturn(base::Callback<bool(void)>(. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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/password_manager/native_backend_kwallet_x_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_store_x_unittest.cc
===================================================================
--- chrome/browser/password_manager/password_store_x_unittest.cc (revision 106378)
+++ chrome/browser/password_manager/password_store_x_unittest.cc (working copy)
@@ -629,16 +629,16 @@
for (VectorOfForms::iterator it = expected_autofillable.begin();
it != expected_autofillable.end(); ++it) {
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
- base::IgnoreReturn(base::Callback<bool(void)>(
- base::Bind(&LoginDatabase::AddLogin,
- base::Unretained(login_db), **it))));
+ base::IgnoreReturn<bool>(base::Bind(
+ &LoginDatabase::AddLogin,
+ base::Unretained(login_db), **it)));
}
for (VectorOfForms::iterator it = expected_blacklisted.begin();
it != expected_blacklisted.end(); ++it) {
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
- base::IgnoreReturn(base::Callback<bool(void)>(
- base::Bind(&LoginDatabase::AddLogin,
- base::Unretained(login_db), **it))));
+ base::IgnoreReturn<bool>(base::Bind(
+ &LoginDatabase::AddLogin,
+ base::Unretained(login_db), **it)));
}
// Schedule another task on the DB thread to notify us that it's safe to
« no previous file with comments | « chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698