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

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: Fix rebase, really 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 a4a94d94ecfdb7cd80188eec5538419aa1e2e369..df5a8d781bdfb08388cb005b204ce81fb54aee6f 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 "chrome/browser/notifications/notification_delegate.h"
#include "chrome/browser/printing/cloud_print/privet_device_lister.h"
#include "chrome/browser/printing/cloud_print/privet_http.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