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

Unified Diff: chrome/browser/component_updater/origin_trials_component_installer.cc

Issue 1937683002: Implement support in DefaultComponentInstaller for picking up bundled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ready for review. Created 4 years, 8 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
Index: chrome/browser/component_updater/origin_trials_component_installer.cc
diff --git a/chrome/browser/component_updater/origin_trials_component_installer.cc b/chrome/browser/component_updater/origin_trials_component_installer.cc
index 3ef12e9ea467d117938cb154e0993789359d455e..45941c7bc7963e098fbd97de52569bb7ffe6592e 100644
--- a/chrome/browser/component_updater/origin_trials_component_installer.cc
+++ b/chrome/browser/component_updater/origin_trials_component_installer.cc
@@ -74,10 +74,9 @@ void OriginTrialsComponentInstallerTraits::ComponentReady(
}
}
-base::FilePath OriginTrialsComponentInstallerTraits::GetBaseDirectory() const {
- base::FilePath result;
- PathService::Get(DIR_ORIGIN_TRIAL_KEYS, &result);
- return result;
+std::string OriginTrialsComponentInstallerTraits::GetASCIIDirectoryName()
+ const {
+ return "OriginTrials";
}
void OriginTrialsComponentInstallerTraits::GetHash(

Powered by Google App Engine
This is Rietveld 408576698