summaryrefslogtreecommitdiffstats
path: root/rlz/chromeos
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-10 05:15:45 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-10 05:15:45 +0000
commit79f6388902881a0aab426e9606c544b68ab3b9bc (patch)
treedf8da7e82fded47bccf4fe32922a8451a475bf97 /rlz/chromeos
parent6d4b67a4b50d73d5001aec99014ac40bc504871a (diff)
downloadchromium_src-79f6388902881a0aab426e9606c544b68ab3b9bc.zip
chromium_src-79f6388902881a0aab426e9606c544b68ab3b9bc.tar.gz
chromium_src-79f6388902881a0aab426e9606c544b68ab3b9bc.tar.bz2
Replace FilePath with base::FilePath in some more top level directories.
Review URL: https://codereview.chromium.org/12217101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181640 0039d316-1c4b-4281-b951-d872f2087c98
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_;