OLD | NEW |
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 "chrome/browser/history/visitsegment_database.h" | 5 #include "chrome/browser/history/visitsegment_database.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "app/sql/connection.h" | |
14 #include "app/sql/statement.h" | 13 #include "app/sql/statement.h" |
15 #include "base/logging.h" | 14 #include "base/logging.h" |
16 #include "base/stl_util-inl.h" | 15 #include "base/stl_util-inl.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/history/page_usage_data.h" | 18 #include "chrome/browser/history/page_usage_data.h" |
20 | 19 |
21 // The following tables are used to store url segment information. | 20 // The following tables are used to store url segment information. |
22 // | 21 // |
23 // segments | 22 // segments |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 NOTREACHED(); | 376 NOTREACHED(); |
378 r = false; | 377 r = false; |
379 } | 378 } |
380 delete_usage.Reset(); | 379 delete_usage.Reset(); |
381 delete_seg.Reset(); | 380 delete_seg.Reset(); |
382 } | 381 } |
383 return r; | 382 return r; |
384 } | 383 } |
385 | 384 |
386 } // namespace history | 385 } // namespace history |
OLD | NEW |