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

Unified Diff: ios/web/net/request_tracker_impl.h

Issue 2617243002: Remove ScopedVector from ios/. (Closed)
Patch Set: rebase 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 | « ios/chrome/browser/ui/webui/version_ui.mm ('k') | ios/web/net/request_tracker_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/net/request_tracker_impl.h
diff --git a/ios/web/net/request_tracker_impl.h b/ios/web/net/request_tracker_impl.h
index f9fbdbaddbc72cd797677d9b2412dc393cc56a74..e1695a6fb4f3f2d827459d96fb182b37937428c5 100644
--- a/ios/web/net/request_tracker_impl.h
+++ b/ios/web/net/request_tracker_impl.h
@@ -7,13 +7,15 @@
#import <Foundation/Foundation.h>
#include <stdint.h>
+
#include <map>
+#include <memory>
#include <set>
+#include <vector>
#include "base/callback_forward.h"
#import "base/mac/scoped_nsobject.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#import "ios/net/request_tracker.h"
#import "ios/web/net/crw_request_tracker_delegate.h"
@@ -344,7 +346,7 @@ class RequestTrackerImpl
// All the live requests associated with the tracker.
std::set<net::URLRequest*> live_requests_;
// A list of all the TrackerCounts, including the finished ones.
- ScopedVector<TrackerCounts> counts_;
+ std::vector<std::unique_ptr<TrackerCounts>> counts_;
// The system shall never allow the page load estimate to go back.
float previous_estimate_;
// Index of the first request to consider for building the estimation.
« no previous file with comments | « ios/chrome/browser/ui/webui/version_ui.mm ('k') | ios/web/net/request_tracker_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698