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

Side by Side Diff: chrome/browser/history/text_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/starred_url_database.cc ('k') | chrome/browser/history/url_database.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <limits> 5 #include <limits>
6 #include <set> 6 #include <set>
7 #include <string> 7 #include <string>
8 8
9 #include "chrome/browser/history/text_database.h" 9 #include "chrome/browser/history/text_database.h"
10 10
11 #include "app/sql/connection.h"
12 #include "app/sql/statement.h" 11 #include "app/sql/statement.h"
13 #include "app/sql/transaction.h" 12 #include "app/sql/transaction.h"
14 #include "base/file_util.h" 13 #include "base/file_util.h"
15 #include "base/histogram.h" 14 #include "base/histogram.h"
16 #include "base/logging.h" 15 #include "base/logging.h"
17 #include "base/string_util.h" 16 #include "base/string_util.h"
18 #include "base/utf_string_conversions.h" 17 #include "base/utf_string_conversions.h"
19 #include "chrome/browser/diagnostics/sqlite_diagnostics.h" 18 #include "chrome/browser/diagnostics/sqlite_diagnostics.h"
20 19
21 // There are two tables in each database, one full-text search (FTS) table which 20 // There are two tables in each database, one full-text search (FTS) table which
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 } else { 368 } else {
370 // Since we got the results in order, we know the last item is the last 369 // Since we got the results in order, we know the last item is the last
371 // time we considered. 370 // time we considered.
372 *first_time_searched = results->back().time; 371 *first_time_searched = results->back().time;
373 } 372 }
374 373
375 statement.Reset(); 374 statement.Reset();
376 } 375 }
377 376
378 } // namespace history 377 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/starred_url_database.cc ('k') | chrome/browser/history/url_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698