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

Unified Diff: chrome/browser/history/top_sites_database.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/top_sites_backend.h ('k') | chrome/browser/icon_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites_database.h
diff --git a/chrome/browser/history/top_sites_database.h b/chrome/browser/history/top_sites_database.h
index 313c7063f9772b334034f10846d728c6a69bcf04..42e04ed18cdfb9dd6ca07e9c96020fb949ae28bd 100644
--- a/chrome/browser/history/top_sites_database.h
+++ b/chrome/browser/history/top_sites_database.h
@@ -13,7 +13,9 @@
#include "chrome/browser/history/url_database.h" // For DBCloseScoper.
#include "sql/meta_table.h"
+namespace base {
class FilePath;
+}
namespace sql {
class Connection;
@@ -28,7 +30,7 @@ class TopSitesDatabase {
// Must be called after creation but before any other methods are called.
// Returns true on success. If false, no other functions should be called.
- bool Init(const FilePath& db_name);
+ bool Init(const base::FilePath& db_name);
// Returns true if migration of top sites from history may be needed. A value
// of true means either migration is definitely needed (the top sites file is
@@ -92,7 +94,7 @@ class TopSitesDatabase {
// Returns the number of URLs (rows) in the database.
int GetRowCount();
- sql::Connection* CreateDB(const FilePath& db_name);
+ sql::Connection* CreateDB(const base::FilePath& db_name);
// Encodes redirects into a string.
static std::string GetRedirects(const MostVisitedURL& url);
« no previous file with comments | « chrome/browser/history/top_sites_backend.h ('k') | chrome/browser/icon_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698