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

Unified Diff: chrome/browser/component_updater/sth_set_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/sth_set_component_installer.cc
diff --git a/chrome/browser/component_updater/sth_set_component_installer.cc b/chrome/browser/component_updater/sth_set_component_installer.cc
index fc393ceff3dc209cd2a4dc4d113a438ace725b97..401a79f3e41622b6d4a325b6fdf522af69fbd5e8 100644
--- a/chrome/browser/component_updater/sth_set_component_installer.cc
+++ b/chrome/browser/component_updater/sth_set_component_installer.cc
@@ -89,10 +89,8 @@ bool STHSetComponentInstallerTraits::VerifyInstallation(
return base::PathExists(GetInstalledPath(install_dir));
}
-base::FilePath STHSetComponentInstallerTraits::GetBaseDirectory() const {
- base::FilePath result;
- PathService::Get(DIR_CERT_TRANS_TREE_STATES, &result);
- return result;
+base::FilePath STHSetComponentInstallerTraits::GetRelativeInstallDir() const {
+ return base::FilePath(FILE_PATH_LITERAL("CertificateTransparency"));
}
void STHSetComponentInstallerTraits::GetHash(std::vector<uint8_t>* hash) const {

Powered by Google App Engine
This is Rietveld 408576698