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

Unified Diff: chrome/browser/value_store/value_store_frontend.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/ui/webui/screenshot_source.h ('k') | chrome/browser/webdata/web_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/value_store/value_store_frontend.h
diff --git a/chrome/browser/value_store/value_store_frontend.h b/chrome/browser/value_store/value_store_frontend.h
index 19c0f23e93ae478f3f4659929cef0c4af06131a2..0a4c0ba447ffa3c9cc05facb43492ae802d32a9f 100644
--- a/chrome/browser/value_store/value_store_frontend.h
+++ b/chrome/browser/value_store/value_store_frontend.h
@@ -14,9 +14,12 @@
#include "base/threading/non_thread_safe.h"
#include "base/values.h"
-class FilePath;
class ValueStore;
+namespace base {
+class FilePath;
+}
+
// A frontend for a LeveldbValueStore, for use on the UI thread.
class ValueStoreFrontend
: public base::SupportsWeakPtr<ValueStoreFrontend>,
@@ -25,12 +28,12 @@ class ValueStoreFrontend
typedef base::Callback<void(scoped_ptr<base::Value>)> ReadCallback;
ValueStoreFrontend();
- explicit ValueStoreFrontend(const FilePath& db_path);
+ explicit ValueStoreFrontend(const base::FilePath& db_path);
// This variant is useful for testing (using a mock ValueStore).
explicit ValueStoreFrontend(ValueStore* value_store);
~ValueStoreFrontend();
- void Init(const FilePath& db_path);
+ void Init(const base::FilePath& db_path);
// Retrieves a value from the database asynchronously, passing a copy to
// |callback| when ready. NULL is passed if no matching entry is found.
« no previous file with comments | « chrome/browser/ui/webui/screenshot_source.h ('k') | chrome/browser/webdata/web_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698