Index: chrome/browser/printing/cloud_print/privet_notifications.h |
diff --git a/chrome/browser/printing/cloud_print/privet_notifications.h b/chrome/browser/printing/cloud_print/privet_notifications.h |
index 7e8e650321f6d8812f03f650084b4f6ac83208c9..cbb0f05410a07a011ac4fd1bf73bf7cf5562e63a 100644 |
--- a/chrome/browser/printing/cloud_print/privet_notifications.h |
+++ b/chrome/browser/printing/cloud_print/privet_notifications.h |
@@ -8,6 +8,7 @@ |
#include <map> |
#include <string> |
+#include "base/memory/scoped_ptr.h" |
#include "base/prefs/pref_member.h" |
#include "chrome/browser/notifications/notification_delegate.h" |
#include "chrome/browser/printing/cloud_print/privet_device_lister.h" |
@@ -75,7 +76,7 @@ class PrivetNotificationsListener { |
scoped_ptr<PrivetHTTPClient> privet_http; |
}; |
- typedef std::map<std::string, linked_ptr<DeviceContext> > DeviceContextMap; |
+ using DeviceContextMap = std::map<std::string, scoped_ptr<DeviceContext>>; |
void CreateInfoOperation(scoped_ptr<PrivetHTTPClient> http_client); |
void OnPrivetInfoDone(DeviceContext* device, |