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

Unified Diff: chrome/browser/component_updater/sth_set_component_installer.h

Issue 2140093002: STH Set: Delay loading until after start-up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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.h
diff --git a/chrome/browser/component_updater/sth_set_component_installer.h b/chrome/browser/component_updater/sth_set_component_installer.h
index 90aec8ae778a182a171bf10bb140fb8d9e6f528f..4ff63e2c750c8e98c6056d2a79376e6a60c0361a 100644
--- a/chrome/browser/component_updater/sth_set_component_installer.h
+++ b/chrome/browser/component_updater/sth_set_component_installer.h
@@ -61,6 +61,10 @@ class STHSetComponentInstallerTraits : public ComponentInstallerTraits {
std::string GetName() const override;
update_client::InstallerAttributes GetInstallerAttributes() const override;
+ // Posts a task to the blocking pool for reading the STHs from disk.
+ void PostStartupLoadSTHsFromDisk(const base::FilePath& install_dir,
+ const base::Version& version);
+
// Reads and parses the on-disk json.
void LoadSTHsFromDisk(const base::FilePath& sths_file_path,
const base::Version& version);

Powered by Google App Engine
This is Rietveld 408576698