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

Side by Side Diff: chrome/browser/download/download_query.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
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 <stddef.h>
9
8 #include <map> 10 #include <map>
9 #include <string> 11 #include <string>
10 #include <vector> 12 #include <vector>
11 13
12 #include "base/callback_forward.h" 14 #include "base/callback_forward.h"
15 #include "base/macros.h"
13 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
14 #include "content/public/browser/download_item.h" 17 #include "content/public/browser/download_item.h"
15 18
16 namespace base { 19 namespace base {
17 class Value; 20 class Value;
18 } 21 }
19 22
20 // Filter and sort a vector of DownloadItem*s. 23 // Filter and sort a vector of DownloadItem*s.
21 // 24 //
22 // The following example copies from |all_items| to |results| those 25 // The following example copies from |all_items| to |results| those
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 159
157 FilterCallbackVector filters_; 160 FilterCallbackVector filters_;
158 SorterVector sorters_; 161 SorterVector sorters_;
159 size_t limit_; 162 size_t limit_;
160 size_t skip_; 163 size_t skip_;
161 164
162 DISALLOW_COPY_AND_ASSIGN(DownloadQuery); 165 DISALLOW_COPY_AND_ASSIGN(DownloadQuery);
163 }; 166 };
164 167
165 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_QUERY_H_ 168 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_QUERY_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_prefs.cc ('k') | chrome/browser/download/download_query_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698