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

Unified Diff: chrome/browser/safe_search_api/safe_search_url_checker.h

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Address comments from zea@ Created 3 years, 9 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/browser/safe_search_api/safe_search_url_checker.h
diff --git a/chrome/browser/safe_search_api/safe_search_url_checker.h b/chrome/browser/safe_search_api/safe_search_url_checker.h
index 0d6e5a1395f33d8f9f98645fbe0bcc8b864e3949..7a7d6d1c4bb416172d859467b3452ee5d949acb8 100644
--- a/chrome/browser/safe_search_api/safe_search_url_checker.h
+++ b/chrome/browser/safe_search_api/safe_search_url_checker.h
@@ -7,10 +7,12 @@
#include <stddef.h>
+#include <memory>
+#include <vector>
+
#include "base/callback_forward.h"
#include "base/containers/mru_cache.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/time/time.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_fetcher_delegate.h"
@@ -63,7 +65,7 @@ class SafeSearchURLChecker : net::URLFetcherDelegate {
net::URLRequestContextGetter* context_;
const net::NetworkTrafficAnnotationTag traffic_annotation_;
- ScopedVector<Check> checks_in_progress_;
+ std::vector<std::unique_ptr<Check>> checks_in_progress_;
base::MRUCache<GURL, CheckResult> cache_;
base::TimeDelta cache_timeout_;

Powered by Google App Engine
This is Rietveld 408576698