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

Unified Diff: base/file_util_proxy.cc

Issue 8483003: Callback API Change: Reimplement Bind(); support IgnoreResult, full currying, and use less types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month 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 | « base/callback_unittest.cc ('k') | base/task_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_proxy.cc
diff --git a/base/file_util_proxy.cc b/base/file_util_proxy.cc
index 9b51d34b9a88acef7b663ff59dd8f0c1070125b0..0873c9ccd5b3f61f7b2e84f75a8ed36c9ac6b1b9 100644
--- a/base/file_util_proxy.cc
+++ b/base/file_util_proxy.cc
@@ -112,7 +112,8 @@ class CreateOrOpenHelper {
~CreateOrOpenHelper() {
if (file_handle_ != kInvalidPlatformFileValue) {
message_loop_proxy_->PostTask(
- FROM_HERE, base::Bind(close_task_, file_handle_));
+ FROM_HERE,
+ base::Bind(base::IgnoreResult(close_task_), file_handle_));
}
}
« no previous file with comments | « base/callback_unittest.cc ('k') | base/task_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698