Move some uses of PathService into the base namespace.
BUG=838398
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I8df9263f159af6a1152b46882a80bec0c52a822d
Reviewed-on: https://chromium-review.googlesource.com/1036566
Reviewed-by: Doug Steedman <dougsteed@chromium.org>
Reviewed-by: Cait Phillips <caitkp@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555487}
CrOS-Libchrome-Original-Commit: f617d01a04196951c9dfbc5234bf3b2b61b751fc
diff --git a/components/json_schema/json_schema_validator_unittest_base.cc b/components/json_schema/json_schema_validator_unittest_base.cc
index 2a19e71..6f8e079 100644
--- a/components/json_schema/json_schema_validator_unittest_base.cc
+++ b/components/json_schema/json_schema_validator_unittest_base.cc
@@ -27,7 +27,7 @@
base::Value* LoadValue(const std::string& filename) {
base::FilePath path;
- PathService::Get(base::DIR_SOURCE_ROOT, &path);
+ base::PathService::Get(base::DIR_SOURCE_ROOT, &path);
path = path.AppendASCII("components")
.AppendASCII("test")
.AppendASCII("data")
diff --git a/components/policy/core/common/preg_parser_unittest.cc b/components/policy/core/common/preg_parser_unittest.cc
index 1b7c349..250a80d 100644
--- a/components/policy/core/common/preg_parser_unittest.cc
+++ b/components/policy/core/common/preg_parser_unittest.cc
@@ -91,7 +91,7 @@
class PRegParserTest : public testing::Test {
protected:
void SetUp() override {
- ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &test_data_dir_));
+ ASSERT_TRUE(base::PathService::Get(base::DIR_SOURCE_ROOT, &test_data_dir_));
test_data_dir_ = test_data_dir_.AppendASCII(kRegistryPolBaseDir);
}