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

Unified Diff: content/browser/renderer_host/redirect_to_file_resource_handler.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.cc ('k') | webkit/blob/local_file_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/redirect_to_file_resource_handler.cc
===================================================================
--- content/browser/renderer_host/redirect_to_file_resource_handler.cc (revision 133490)
+++ content/browser/renderer_host/redirect_to_file_resource_handler.cc (working copy)
@@ -10,6 +10,7 @@
#include "base/logging.h"
#include "base/message_loop_proxy.h"
#include "base/platform_file.h"
+#include "base/threading/thread_restrictions.h"
#include "content/browser/renderer_host/resource_dispatcher_host_impl.h"
#include "content/public/common/resource_response.h"
#include "net/base/file_stream.h"
@@ -75,7 +76,7 @@
net::IOBuffer** buf,
int* buf_size,
int min_size) {
- DCHECK(min_size == -1);
+ DCHECK_EQ(-1, min_size);
if (!buf_->capacity())
buf_->SetCapacity(kReadBufSize);
« no previous file with comments | « base/file_util_proxy.cc ('k') | webkit/blob/local_file_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698