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

Unified Diff: content/browser/download/save_item.cc

Issue 14606009: Cleanup: Remove unneeded base/file_util.h includes in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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
Index: content/browser/download/save_item.cc
===================================================================
--- content/browser/download/save_item.cc (revision 199525)
+++ content/browser/download/save_item.cc (working copy)
@@ -4,7 +4,6 @@
#include "content/browser/download/save_item.h"
-#include "base/file_util.h"
#include "base/logging.h"
#include "base/string_util.h"
#include "content/browser/download/save_file.h"
@@ -122,12 +121,12 @@
}
void SaveItem::SetSaveId(int32 save_id) {
- DCHECK(save_id_ == -1);
+ DCHECK_EQ(-1, save_id_);
save_id_ = save_id;
}
void SaveItem::SetTotalBytes(int64 total_bytes) {
- DCHECK(total_bytes_ == 0);
+ DCHECK_EQ(0, total_bytes_);
total_bytes_ = total_bytes;
}
« no previous file with comments | « content/browser/download/drag_download_file_browsertest.cc ('k') | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698