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

Unified Diff: chrome/browser/printing/cloud_print/privet_notifications.h

Issue 1641563002: Remove linked_ptr usage in //base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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/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,

Powered by Google App Engine
This is Rietveld 408576698