summaryrefslogtreecommitdiffstats
path: root/rlz/chromeos
diff options
context:
space:
mode:
Diffstat (limited to 'rlz/chromeos')
-rw-r--r--rlz/chromeos/lib/rlz_value_store_chromeos.cc9
-rw-r--r--rlz/chromeos/lib/rlz_value_store_chromeos.h4
2 files changed, 7 insertions, 6 deletions
diff --git a/rlz/chromeos/lib/rlz_value_store_chromeos.cc b/rlz/chromeos/lib/rlz_value_store_chromeos.cc
index bb9c431..31577cc 100644
--- a/rlz/chromeos/lib/rlz_value_store_chromeos.cc
+++ b/rlz/chromeos/lib/rlz_value_store_chromeos.cc
@@ -34,10 +34,11 @@ const char kStatefulEventKey[] = "stateful_events";
const char kNoSupplementaryBrand[] = "_";
// RLZ store filename.
-const FilePath::CharType kRLZDataFileName[] = FILE_PATH_LITERAL("RLZ Data");
+const base::FilePath::CharType kRLZDataFileName[] =
+ FILE_PATH_LITERAL("RLZ Data");
// RLZ store lock filename
-const FilePath::CharType kRLZLockFileName[] =
+const base::FilePath::CharType kRLZLockFileName[] =
FILE_PATH_LITERAL("RLZ Data.lock");
// RLZ store path for testing.
@@ -75,7 +76,7 @@ std::string GetKeyName(std::string key, Product product) {
} // namespace
-RlzValueStoreChromeOS::RlzValueStoreChromeOS(const FilePath& store_path)
+RlzValueStoreChromeOS::RlzValueStoreChromeOS(const base::FilePath& store_path)
: rlz_store_(new base::DictionaryValue),
store_path_(store_path),
read_only_(true) {
@@ -325,7 +326,7 @@ RlzValueStore* ScopedRlzValueStoreLock::GetStore() {
namespace testing {
-void SetRlzStoreDirectory(const FilePath& directory) {
+void SetRlzStoreDirectory(const base::FilePath& directory) {
g_testing_rlz_store_path_ = directory;
}
diff --git a/rlz/chromeos/lib/rlz_value_store_chromeos.h b/rlz/chromeos/lib/rlz_value_store_chromeos.h
index 4760418..e150c3c 100644
--- a/rlz/chromeos/lib/rlz_value_store_chromeos.h
+++ b/rlz/chromeos/lib/rlz_value_store_chromeos.h
@@ -27,7 +27,7 @@ class RlzValueStoreChromeOS : public RlzValueStore,
// static void SetFileTaskRunner(base::SequencedTaskRunner* file_task_runner);
// Creates new instance and synchronously reads data from file.
- RlzValueStoreChromeOS(const FilePath& store_path);
+ RlzValueStoreChromeOS(const base::FilePath& store_path);
virtual ~RlzValueStoreChromeOS();
// RlzValueStore overrides:
@@ -74,7 +74,7 @@ class RlzValueStoreChromeOS : public RlzValueStore,
// In-memory store with RLZ data.
scoped_ptr<base::DictionaryValue> rlz_store_;
- FilePath store_path_;
+ base::FilePath store_path_;
bool read_only_;