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

Unified Diff: chrome/browser/download/download_manager.cc

Issue 3473006: Fix a bunch of clang warnings/errors. (Closed)
Patch Set: Created 10 years, 3 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: chrome/browser/download/download_manager.cc
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc
index 16820a25c3f2d396212d87eb5d97701d9a485aad..4ef7f34787d45a28ac944e149b4255bb919964f1 100644
--- a/chrome/browser/download/download_manager.cc
+++ b/chrome/browser/download/download_manager.cc
@@ -49,15 +49,6 @@
#include "app/win_util.h"
#endif
-namespace {
-
-// Used to sort download items based on descending start time.
-bool CompareStartTime(DownloadItem* first, DownloadItem* second) {
- return first->start_time() > second->start_time();
-}
-
-} // namespace
-
DownloadManager::DownloadManager()
: shutdown_needed_(false),
profile_(NULL),

Powered by Google App Engine
This is Rietveld 408576698