Chromium Code Reviews| Index: chrome/browser/chromeos/net/tether_notification_presenter.h |
| diff --git a/chrome/browser/chromeos/net/tether_notification_presenter.h b/chrome/browser/chromeos/net/tether_notification_presenter.h |
| index 09024a36e6cc8fcf034f626353b4cb0e12c78a87..321c332e87bd89237df4b03127bc0b85c2a6d974 100644 |
| --- a/chrome/browser/chromeos/net/tether_notification_presenter.h |
| +++ b/chrome/browser/chromeos/net/tether_notification_presenter.h |
| @@ -13,6 +13,7 @@ |
| #include "base/memory/weak_ptr.h" |
| #include "base/strings/string16.h" |
| #include "chromeos/components/tether/notification_presenter.h" |
| +#include "chromeos/network/network_connect.h" |
| #include "components/cryptauth/remote_device.h" |
| #include "ui/message_center/message_center_observer.h" |
| #include "ui/message_center/notification.h" |
| @@ -49,8 +50,8 @@ class TetherNotificationPresenter |
| int button_index) override; |
| protected: |
| - explicit TetherNotificationPresenter( |
| - message_center::MessageCenter* message_center); |
| + TetherNotificationPresenter(message_center::MessageCenter* message_center, |
| + NetworkConnect* network_connect); |
|
stevenjb
2017/04/10 19:55:51
Can you add a comment that |message_center| and |n
Ryan Hansberry
2017/04/10 22:28:55
Done.
|
| private: |
| friend class TetherNotificationPresenterTest; |
| @@ -73,6 +74,7 @@ class TetherNotificationPresenter |
| std::unique_ptr<message_center::Notification> notification); |
| message_center::MessageCenter* message_center_; |
| + NetworkConnect* network_connect_; |
| cryptauth::RemoteDevice hotspot_nearby_device_; |
| base::WeakPtrFactory<TetherNotificationPresenter> weak_ptr_factory_; |