OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_QUERY_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_QUERY_H_ |
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_QUERY_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_QUERY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 FILTER_BYTES_RECEIVED, // int | 51 FILTER_BYTES_RECEIVED, // int |
52 FILTER_DANGER_ACCEPTED, // bool | 52 FILTER_DANGER_ACCEPTED, // bool |
53 FILTER_ENDED_AFTER, // string | 53 FILTER_ENDED_AFTER, // string |
54 FILTER_ENDED_BEFORE, // string | 54 FILTER_ENDED_BEFORE, // string |
55 FILTER_END_TIME, // string | 55 FILTER_END_TIME, // string |
56 FILTER_EXISTS, // bool | 56 FILTER_EXISTS, // bool |
57 FILTER_FILENAME, // string | 57 FILTER_FILENAME, // string |
58 FILTER_FILENAME_REGEX, // string | 58 FILTER_FILENAME_REGEX, // string |
59 FILTER_MIME, // string | 59 FILTER_MIME, // string |
60 FILTER_PAUSED, // bool | 60 FILTER_PAUSED, // bool |
61 FILTER_QUERY, // string | 61 FILTER_QUERY, // vector<string16> |
62 FILTER_STARTED_AFTER, // string | 62 FILTER_STARTED_AFTER, // string |
63 FILTER_STARTED_BEFORE, // string | 63 FILTER_STARTED_BEFORE, // string |
64 FILTER_START_TIME, // string | 64 FILTER_START_TIME, // string |
65 FILTER_TOTAL_BYTES, // int | 65 FILTER_TOTAL_BYTES, // int |
66 FILTER_TOTAL_BYTES_GREATER, // int | 66 FILTER_TOTAL_BYTES_GREATER, // int |
67 FILTER_TOTAL_BYTES_LESS, // int | 67 FILTER_TOTAL_BYTES_LESS, // int |
68 FILTER_URL, // string | 68 FILTER_URL, // string |
69 FILTER_URL_REGEX, // string | 69 FILTER_URL_REGEX, // string |
70 }; | 70 }; |
71 | 71 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 void FinishSearch(DownloadVector* results) const; | 145 void FinishSearch(DownloadVector* results) const; |
146 | 146 |
147 FilterCallbackVector filters_; | 147 FilterCallbackVector filters_; |
148 SorterVector sorters_; | 148 SorterVector sorters_; |
149 size_t limit_; | 149 size_t limit_; |
150 | 150 |
151 DISALLOW_COPY_AND_ASSIGN(DownloadQuery); | 151 DISALLOW_COPY_AND_ASSIGN(DownloadQuery); |
152 }; | 152 }; |
153 | 153 |
154 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_QUERY_H_ | 154 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_QUERY_H_ |
OLD | NEW |