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

Unified Diff: remoting/host/chromoting_host.h

Issue 2627433003: Remove ScopedVector from remoting/. (Closed)
Patch Set: rev Created 3 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
« no previous file with comments | « remoting/client/software_video_renderer_unittest.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 7009f6e112cbd90a685be5f22cad697f290b9f9c..d9d34ea13a8d783d94a91098be4ba70060891873 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -11,7 +11,6 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/threading/non_thread_safe.h"
@@ -142,8 +141,6 @@ class ChromotingHost : public base::NonThreadSafe,
private:
friend class ChromotingHostTest;
- typedef ScopedVector<HostExtension> HostExtensionList;
-
// Unless specified otherwise all members of this class must be
// used on the network thread only.
@@ -176,7 +173,7 @@ class ChromotingHost : public base::NonThreadSafe,
scoped_refptr<protocol::PairingRegistry> pairing_registry_;
// List of host extensions.
- HostExtensionList extensions_;
+ std::vector<std::unique_ptr<HostExtension>> extensions_;
base::WeakPtrFactory<ChromotingHost> weak_factory_;
« no previous file with comments | « remoting/client/software_video_renderer_unittest.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698