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

Unified Diff: extensions/browser/api/cast_channel/logger.h

Issue 2294653002: Some linked_ptr -> unique_ptr conversion in extensions/browser. (Closed)
Patch Set: address comments Created 4 years, 4 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
« no previous file with comments | « extensions/browser/api/api_resource_manager.h ('k') | extensions/browser/api/cast_channel/logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/logger.h
diff --git a/extensions/browser/api/cast_channel/logger.h b/extensions/browser/api/cast_channel/logger.h
index c9c696aa3a470ec0f1c9508510420179b2fe79dd..3453f541ce922d9f636ff8efe2b0be187c1f8d94 100644
--- a/extensions/browser/api/cast_channel/logger.h
+++ b/extensions/browser/api/cast_channel/logger.h
@@ -13,7 +13,6 @@
#include <string>
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/threading/thread_checker.h"
#include "extensions/browser/api/cast_channel/logger_util.h"
@@ -114,8 +113,8 @@ class Logger : public base::RefCounted<Logger> {
LastErrors last_errors;
};
- typedef std::map<int, linked_ptr<AggregatedSocketEventLog> >
- AggregatedSocketEventLogMap;
+ using AggregatedSocketEventLogMap =
+ std::map<int, std::unique_ptr<AggregatedSocketEventLog>>;
// Returns a SocketEvent proto with common fields (EventType, timestamp)
// populated.
« no previous file with comments | « extensions/browser/api/api_resource_manager.h ('k') | extensions/browser/api/cast_channel/logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698