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

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

Issue 2014573002: Certificate Transparency: Wire the TreeStateTracker up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging with master 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.h
diff --git a/chrome/browser/component_updater/sth_set_component_installer.h b/chrome/browser/component_updater/sth_set_component_installer.h
index 4223aa371d544d355d2d13685196b8e28d09f46f..6de6f0ad2331bf423b0e4229c6f0d1b0b6dcaa75 100644
--- a/chrome/browser/component_updater/sth_set_component_installer.h
+++ b/chrome/browser/component_updater/sth_set_component_installer.h
@@ -40,8 +40,7 @@ class ComponentUpdateService;
class STHSetComponentInstallerTraits : public ComponentInstallerTraits {
public:
// The |sth_distributor| will be notified each time a new STH is observed.
- explicit STHSetComponentInstallerTraits(
- std::unique_ptr<net::ct::STHObserver> sth_observer);
+ explicit STHSetComponentInstallerTraits(net::ct::STHObserver* sth_observer);
~STHSetComponentInstallerTraits() override;
private:
@@ -73,7 +72,7 @@ class STHSetComponentInstallerTraits : public ComponentInstallerTraits {
// STH parsing failed - do nothing.
void OnJsonParseError(const std::string& log_id, const std::string& error);
- std::unique_ptr<net::ct::STHObserver> sth_observer_;
+ net::ct::STHObserver* sth_observer_;
Sorin Jianu 2016/05/25 17:54:45 A comment would be helpful to document the ownersh
Eran Messeri 2016/05/26 09:51:21 Done.
DISALLOW_COPY_AND_ASSIGN(STHSetComponentInstallerTraits);
};

Powered by Google App Engine
This is Rietveld 408576698