summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/downloads_dom_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/downloads_dom_handler.cc')
-rw-r--r--chrome/browser/dom_ui/downloads_dom_handler.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/downloads_dom_handler.cc b/chrome/browser/dom_ui/downloads_dom_handler.cc
index a825c39..07ca6fc 100644
--- a/chrome/browser/dom_ui/downloads_dom_handler.cc
+++ b/chrome/browser/dom_ui/downloads_dom_handler.cc
@@ -4,6 +4,9 @@
#include "chrome/browser/dom_ui/downloads_dom_handler.h"
+#include <algorithm>
+#include <functional>
+
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/singleton.h"
@@ -19,7 +22,6 @@
#include "chrome/browser/download/download_item.h"
#include "chrome/browser/download/download_util.h"
#include "chrome/browser/metrics/user_metrics.h"
-#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/common/jstemplate_builder.h"
#include "chrome/common/url_constants.h"
@@ -42,7 +44,7 @@ class DownloadItemSorter : public std::binary_function<DownloadItem*,
}
};
-} // namespace
+} // namespace
DownloadsDOMHandler::DownloadsDOMHandler(DownloadManager* dlm)
: search_text_(),