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

Unified Diff: chrome/browser/ui/webui/media_router/query_result_manager.h

Issue 1494833002: Cleanup/ linked_ptr -> scoped_ptr from c/b/ui/webui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | chrome/browser/ui/webui/media_router/query_result_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/media_router/query_result_manager.h
diff --git a/chrome/browser/ui/webui/media_router/query_result_manager.h b/chrome/browser/ui/webui/media_router/query_result_manager.h
index 0e2c4bf0d19a6aa00d978745f80838dd6f27ae4b..93f180875e50a0763fe0efc3e82c72a9f0ed73b9 100644
--- a/chrome/browser/ui/webui/media_router/query_result_manager.h
+++ b/chrome/browser/ui/webui/media_router/query_result_manager.h
@@ -10,7 +10,7 @@
#include <vector>
#include "base/gtest_prod_util.h"
-#include "base/memory/linked_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/threading/thread_checker.h"
#include "chrome/browser/media/router/media_routes_observer.h"
@@ -123,8 +123,7 @@ class QueryResultManager {
// MediaSinksObservers that listens for compatible MediaSink updates.
// Each observer is associated with a MediaCastMode. Results received by
// observers are propagated back to this class.
- // TODO(mfoltz): Remove linked_ptr when there is a ScopedPtrMap available.
- std::map<MediaCastMode, linked_ptr<MediaSinksObserver>> sinks_observers_;
+ std::map<MediaCastMode, scoped_ptr<MediaSinksObserver>> sinks_observers_;
// Holds registrations of MediaSources for cast modes.
std::map<MediaCastMode, MediaSource> cast_mode_sources_;
« no previous file with comments | « no previous file | chrome/browser/ui/webui/media_router/query_result_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698