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

Unified Diff: base/file_util_proxy.cc

Issue 10115017: Cleanup: IWYU for base/file_util_proxy.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 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 | « base/file_util_proxy.h ('k') | content/browser/renderer_host/redirect_to_file_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_proxy.cc
===================================================================
--- base/file_util_proxy.cc (revision 133490)
+++ base/file_util_proxy.cc (working copy)
@@ -7,6 +7,8 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/file_util.h"
+#include "base/location.h"
+#include "base/message_loop_proxy.h"
#include "base/task_runner.h"
#include "base/task_runner_util.h"
@@ -59,7 +61,7 @@
class CreateTemporaryHelper {
public:
- CreateTemporaryHelper(TaskRunner* task_runner)
+ explicit CreateTemporaryHelper(TaskRunner* task_runner)
: task_runner_(task_runner),
file_handle_(kInvalidPlatformFileValue),
error_(PLATFORM_FILE_OK) {}
@@ -132,7 +134,7 @@
class ReadHelper {
public:
- ReadHelper(int bytes_to_read)
+ explicit ReadHelper(int bytes_to_read)
: buffer_(new char[bytes_to_read]),
bytes_to_read_(bytes_to_read),
bytes_read_(0) {}
« no previous file with comments | « base/file_util_proxy.h ('k') | content/browser/renderer_host/redirect_to_file_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698