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

Unified Diff: chrome/browser/history/thumbnail_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/in_memory_history_backend.cc ('k') | chrome/browser/history/top_sites.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/thumbnail_database.h
diff --git a/chrome/browser/history/thumbnail_database.h b/chrome/browser/history/thumbnail_database.h
index 9ee17c798b8ee4a0ede98ddb7fc8205a11eb1ff5..4e8f7894d21fd37732a749449df946e95e5bc579 100644
--- a/chrome/browser/history/thumbnail_database.h
+++ b/chrome/browser/history/thumbnail_database.h
@@ -15,11 +15,11 @@
#include "sql/meta_table.h"
#include "sql/statement.h"
-class FilePath;
struct ThumbnailScore;
class SkBitmap;
namespace base {
+class FilePath;
class RefCountedMemory;
class Time;
}
@@ -47,7 +47,7 @@ class ThumbnailDatabase {
// Must be called after creation but before any other methods are called.
// When not INIT_OK, no other functions should be called.
- sql::InitStatus Init(const FilePath& db_name,
+ sql::InitStatus Init(const base::FilePath& db_name,
const HistoryPublisher* history_publisher,
URLDatabase* url_database);
@@ -56,7 +56,7 @@ class ThumbnailDatabase {
// |db| is the database to open.
// |db_name| is a path to the database file.
static sql::InitStatus OpenDatabase(sql::Connection* db,
- const FilePath& db_name);
+ const base::FilePath& db_name);
// Transactions on the database.
void BeginTransaction();
@@ -308,8 +308,8 @@ class ThumbnailDatabase {
bool NeedsMigrationToTopSites();
// Renames the database file and drops the Thumbnails table.
- bool RenameAndDropThumbnails(const FilePath& old_db_file,
- const FilePath& new_db_file);
+ bool RenameAndDropThumbnails(const base::FilePath& old_db_file,
+ const base::FilePath& new_db_file);
private:
friend class ExpireHistoryBackend;
« no previous file with comments | « chrome/browser/history/in_memory_history_backend.cc ('k') | chrome/browser/history/top_sites.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698