Index: chrome/browser/chromeos/printer_detector/printer_detector.cc |
diff --git a/chrome/browser/chromeos/printer_detector/printer_detector.cc b/chrome/browser/chromeos/printer_detector/printer_detector.cc |
index 42bba81378634db9e7956d78f27850a532775a87..89903df0cd0e5d87102568f6310fb727f74b32af 100644 |
--- a/chrome/browser/chromeos/printer_detector/printer_detector.cc |
+++ b/chrome/browser/chromeos/printer_detector/printer_detector.cc |
@@ -5,12 +5,13 @@ |
#include "chrome/browser/chromeos/printer_detector/printer_detector.h" |
#include <stdint.h> |
+ |
+#include <memory> |
#include <utility> |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/metrics/histogram.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -172,7 +173,7 @@ class SearchPrinterAppNotificationDelegate : public NotificationDelegate { |
extensions::EventRouter* event_router = |
extensions::EventRouter::Get(browser_context_); |
- scoped_ptr<extensions::Event> event(new extensions::Event( |
+ std::unique_ptr<extensions::Event> event(new extensions::Event( |
extensions::events::WEBSTORE_WIDGET_PRIVATE_ON_SHOW_WIDGET, |
webstore_widget_private_api::OnShowWidget::kEventName, |
webstore_widget_private_api::OnShowWidget::Create(options))); |
@@ -202,7 +203,7 @@ void ShowPrinterPluggedNotification( |
NotificationUIManager* notification_ui_manager, |
const scoped_refptr<device::UsbDevice>& device) { |
ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance(); |
- scoped_ptr<Notification> notification; |
+ std::unique_ptr<Notification> notification; |
const std::string kVendorIdStr = base::IntToString(device->vendor_id()); |
const std::string kProductIdStr = base::IntToString(device->product_id()); |