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

Unified Diff: chrome/browser/download/download_query.h

Issue 1428833005: MD Downloads: track downloads in C++, dispatch discrete JS updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years 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_query.h
diff --git a/chrome/browser/download/download_query.h b/chrome/browser/download/download_query.h
index baa5190c84618ce03ccb0f87e9bc35b45a576d19..22ea2bf542b959c6c85b59b679192aaa27ab1a3c 100644
--- a/chrome/browser/download/download_query.h
+++ b/chrome/browser/download/download_query.h
@@ -10,6 +10,7 @@
#include <vector>
#include "base/callback_forward.h"
+#include "base/strings/string16.h"
#include "content/public/browser/download_item.h"
namespace base {
@@ -90,6 +91,9 @@ class DownloadQuery {
DESCENDING,
};
+ static bool MatchesQuery(const std::vector<base::string16>& query_terms,
+ const content::DownloadItem& item);
+
DownloadQuery();
~DownloadQuery();

Powered by Google App Engine
This is Rietveld 408576698