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

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: Removed comment 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
« no previous file with comments | « no previous file | chrome/browser/component_updater/sth_set_component_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..994ac37900f0141f6d82b868ca935a3f629c67b1 100644
--- a/chrome/browser/component_updater/sth_set_component_installer.h
+++ b/chrome/browser/component_updater/sth_set_component_installer.h
@@ -12,6 +12,7 @@
#include <vector>
#include "base/gtest_prod_util.h"
+#include "base/memory/weak_ptr.h"
#include "components/component_updater/default_component_installer.h"
namespace base {
@@ -77,6 +78,8 @@ class STHSetComponentInstallerTraits : public ComponentInstallerTraits {
// this class does. Typically the observer provided will be a global.
net::ct::STHObserver* sth_observer_;
+ base::WeakPtrFactory<STHSetComponentInstallerTraits> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(STHSetComponentInstallerTraits);
};
« no previous file with comments | « no previous file | chrome/browser/component_updater/sth_set_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698