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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 2802973003: Remove ScopedVector from chrome/ (Closed)
Patch Set: Created 3 years, 8 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/utility/chrome_content_utility_client.h
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h
index 379d4980d787307cd18b726acf8f83f225e8190c..49374cb03442b0ae33704f8b0e1c326485339c5d 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -5,8 +5,10 @@
#ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
#define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
+#include <memory>
+#include <vector>
+
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "content/public/utility/content_utility_client.h"
class UtilityMessageHandler;
@@ -26,7 +28,7 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
private:
// IPC message handlers.
- typedef ScopedVector<UtilityMessageHandler> Handlers;
+ using Handlers = std::vector<std::unique_ptr<UtilityMessageHandler>>;
Handlers handlers_;
// True if the utility process runs with elevated privileges.

Powered by Google App Engine
This is Rietveld 408576698