Index: chrome/browser/download/download_query_fields.h |
diff --git a/chrome/browser/download/download_query_fields.h b/chrome/browser/download/download_query_fields.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3e8ca5865c9fb92c0ef75d4b1a01f0c818878b92 |
--- /dev/null |
+++ b/chrome/browser/download/download_query_fields.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// This file intentionally does not have header guards, it's included |
+// inside macros to translate between Values and C++ types. |
+ |
+// This file lists the fields of chrome.experimental.downloads.DownloadQuery. |
+// See chrome/common/extensions/api/extension_api.json for their descriptions. |
+ |
+// DownloadQuery is a superset of DownloadItem. |
+#include "chrome/browser/download/simple_download_item_fields.h" |
+ |
+FIELD(query, String) |
+FIELD(startedBefore, Integer) |
+FIELD(startedAfter, Integer) |
+FIELD(endedBefore, Integer) |
+FIELD(endedAfter, Integer) |
+FIELD(totalBytesGreater, Integer) |
+FIELD(totalBytesLess, Integer) |
+FIELD(fileSizeGreater, Integer) |
+FIELD(fileSizeLess, Integer) |
+FIELD(filenameRegex, String) |
+FIELD(urlRegex, String) |
+FIELD(limit, Integer) |
+FIELD(orderBy, String) |