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

Unified Diff: chrome/browser/chromeos/net/network_portal_notification_controller.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/chromeos/net/network_portal_notification_controller.h
diff --git a/chrome/browser/chromeos/net/network_portal_notification_controller.h b/chrome/browser/chromeos/net/network_portal_notification_controller.h
index e2dd8f912224410830d2918e8beb79b4860642b1..0995b3aed17bc7a2085ac15629674f786fae6f98 100644
--- a/chrome/browser/chromeos/net/network_portal_notification_controller.h
+++ b/chrome/browser/chromeos/net/network_portal_notification_controller.h
@@ -95,7 +95,7 @@ class NetworkPortalNotificationController
// Creates the default notification informing the user that a captive portal
// has been detected. On click the captive portal login page is opened in the
// browser.
- scoped_ptr<message_center::Notification>
+ std::unique_ptr<message_center::Notification>
CreateDefaultCaptivePortalNotification(const NetworkState* network);
// Creates an advanced captive portal notification informing the user that a
@@ -103,7 +103,7 @@ class NetworkPortalNotificationController
// captive portal authentication for that network. Gives the user the choice
// to either authenticate using that extension or open the captive portal
// login page in the browser.
- scoped_ptr<message_center::Notification>
+ std::unique_ptr<message_center::Notification>
CreateCaptivePortalNotificationForExtension(
const NetworkState* network,
extensions::NetworkingConfigService* networking_config_service,
@@ -111,7 +111,7 @@ class NetworkPortalNotificationController
// Constructs a notification to inform the user that a captive portal has been
// detected.
- scoped_ptr<message_center::Notification> GetNotification(
+ std::unique_ptr<message_center::Notification> GetNotification(
const NetworkState* network,
const NetworkPortalDetector::CaptivePortalState& state);

Powered by Google App Engine
This is Rietveld 408576698