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

Side by Side Diff: chrome/browser/history/download_database.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/history/archived_database.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/history/download_database.h" 5 #include "chrome/browser/history/download_database.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <vector> 8 #include <vector>
9 9
10 #include "app/sql/connection.h"
11 #include "app/sql/statement.h" 10 #include "app/sql/statement.h"
12 #include "base/file_path.h" 11 #include "base/file_path.h"
13 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
14 #include "build/build_config.h" 13 #include "build/build_config.h"
15 #include "chrome/browser/download/download_item.h" 14 #include "chrome/browser/download/download_item.h"
16 #include "chrome/browser/history/download_types.h" 15 #include "chrome/browser/history/download_types.h"
17 16
18 // Download schema: 17 // Download schema:
19 // 18 //
20 // id SQLite-generated primary key. 19 // id SQLite-generated primary key.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 text.append(UTF16ToUTF8(search_text)); 208 text.append(UTF16ToUTF8(search_text));
210 text.push_back('%'); 209 text.push_back('%');
211 statement.BindString(0, text); 210 statement.BindString(0, text);
212 statement.BindString(1, text); 211 statement.BindString(1, text);
213 212
214 while (statement.Step()) 213 while (statement.Step())
215 results->push_back(statement.ColumnInt64(0)); 214 results->push_back(statement.ColumnInt64(0));
216 } 215 }
217 216
218 } // namespace history 217 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/archived_database.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698