| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_HISTORY_TOP_SITES_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ |
| 6 #define CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ | 6 #define CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "chrome/browser/history/history_types.h" | 14 #include "chrome/browser/history/history_types.h" |
| 15 #include "chrome/browser/history/url_database.h" // For DBCloseScoper. | 15 #include "chrome/browser/history/url_database.h" // For DBCloseScoper. |
| 16 #include "sql/meta_table.h" | 16 #include "sql/meta_table.h" |
| 17 | 17 |
| 18 class FilePath; | 18 class FilePath; |
| 19 class RefCountedMemory; | |
| 20 class SkBitmap; | |
| 21 | 19 |
| 22 namespace sql { | 20 namespace sql { |
| 23 class Connection; | 21 class Connection; |
| 24 } | 22 } |
| 25 | 23 |
| 26 namespace history { | 24 namespace history { |
| 27 | 25 |
| 28 class TopSitesDatabase { | 26 class TopSitesDatabase { |
| 29 public: | 27 public: |
| 30 TopSitesDatabase(); | 28 TopSitesDatabase(); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 106 |
| 109 // See description above class. | 107 // See description above class. |
| 110 bool may_need_history_migration_; | 108 bool may_need_history_migration_; |
| 111 | 109 |
| 112 DISALLOW_COPY_AND_ASSIGN(TopSitesDatabase); | 110 DISALLOW_COPY_AND_ASSIGN(TopSitesDatabase); |
| 113 }; | 111 }; |
| 114 | 112 |
| 115 } // namespace history | 113 } // namespace history |
| 116 | 114 |
| 117 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ | 115 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ |
| OLD | NEW |