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); |
}; |