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

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: comments through #35 Created 4 years, 7 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..a32d62a3c4c6fd9e2429c1c01717a6ca488a476f 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;
+base::FilePath OriginTrialsComponentInstallerTraits::GetRelativeInstallDir()
+ const {
+ return base::FilePath(FILE_PATH_LITERAL("OriginTrials"));
}
void OriginTrialsComponentInstallerTraits::GetHash(

Powered by Google App Engine
This is Rietveld 408576698