| OLD | NEW |
| 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 #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 #include <vector> | |
| 12 | 11 |
| 13 #include "app/sql/connection.h" | 12 #include "app/sql/connection.h" |
| 14 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
| 15 #include "chrome/browser/history/url_database.h" // For DBCloseScoper. | 14 #include "chrome/browser/history/url_database.h" // For DBCloseScoper. |
| 16 | 15 |
| 17 class FilePath; | 16 class FilePath; |
| 18 class RefCountedMemory; | 17 class RefCountedMemory; |
| 19 class SkBitmap; | 18 class SkBitmap; |
| 20 class Images; | 19 class Images; |
| 21 | 20 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 126 |
| 128 // Decodes redirects from a string and sets them for the url. | 127 // Decodes redirects from a string and sets them for the url. |
| 129 static void SetRedirects(const std::string& redirects, MostVisitedURL* url); | 128 static void SetRedirects(const std::string& redirects, MostVisitedURL* url); |
| 130 | 129 |
| 131 sql::Connection db_; | 130 sql::Connection db_; |
| 132 }; | 131 }; |
| 133 | 132 |
| 134 } // namespace history | 133 } // namespace history |
| 135 | 134 |
| 136 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ | 135 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ |
| OLD | NEW |