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

Unified Diff: chrome/browser/history/history_service.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/history_database.h ('k') | chrome/browser/history/in_memory_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_service.h
diff --git a/chrome/browser/history/history_service.h b/chrome/browser/history/history_service.h
index bd7307f507999d47a84c0a17ff6257432441b9f4..c77878387d4f360a6152eda4c63ee03dc520446e 100644
--- a/chrome/browser/history/history_service.h
+++ b/chrome/browser/history/history_service.h
@@ -40,7 +40,6 @@
#endif
class BookmarkService;
-class FilePath;
class GURL;
class HistoryURLProvider;
class PageUsageData;
@@ -49,6 +48,7 @@ class Profile;
struct HistoryURLProviderParams;
namespace base {
+class FilePath;
class Thread;
}
@@ -129,7 +129,7 @@ class HistoryService : public CancelableRequestProvider,
// not call any other functions. The given directory will be used for storing
// the history files. The BookmarkService is used when deleting URLs to
// test if a URL is bookmarked; it may be NULL during testing.
- bool Init(const FilePath& history_dir, BookmarkService* bookmark_service) {
+ bool Init(const base::FilePath& history_dir, BookmarkService* bookmark_service) {
return Init(history_dir, bookmark_service, false);
}
@@ -666,7 +666,7 @@ class HistoryService : public CancelableRequestProvider,
// Low-level Init(). Same as the public version, but adds a |no_db| parameter
// that is only set by unittests which causes the backend to not init its DB.
- bool Init(const FilePath& history_dir,
+ bool Init(const base::FilePath& history_dir,
BookmarkService* bookmark_service,
bool no_db);
@@ -1094,7 +1094,7 @@ class HistoryService : public CancelableRequestProvider,
int current_backend_id_;
// Cached values from Init(), used whenever we need to reload the backend.
- FilePath history_dir_;
+ base::FilePath history_dir_;
BookmarkService* bookmark_service_;
bool no_db_;
« no previous file with comments | « chrome/browser/history/history_database.h ('k') | chrome/browser/history/in_memory_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698