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

Unified Diff: chrome/browser/component_updater/cld_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/cld_component_installer.cc
diff --git a/chrome/browser/component_updater/cld_component_installer.cc b/chrome/browser/component_updater/cld_component_installer.cc
index fc0a5e6bea547fcac0ab38d8e9691011dc125e65..3f2f7b40dec556b69da72d49cbca628758cb0730 100644
--- a/chrome/browser/component_updater/cld_component_installer.cc
+++ b/chrome/browser/component_updater/cld_component_installer.cc
@@ -98,10 +98,8 @@ bool CldComponentInstallerTraits::VerifyInstallation(
return result;
}
-base::FilePath CldComponentInstallerTraits::GetBaseDirectory() const {
- base::FilePath result;
- PathService::Get(DIR_COMPONENT_CLD2, &result);
- return result;
+base::FilePath CldComponentInstallerTraits::GetRelativeInstallDir() const {
+ return base::FilePath(FILE_PATH_LITERAL("CLD"));
}
void CldComponentInstallerTraits::GetHash(std::vector<uint8_t>* hash) const {

Powered by Google App Engine
This is Rietveld 408576698