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

Unified Diff: chromeos/timezone/timezone_provider.h

Issue 2295663002: Replace deprecated ScopedVector<T> in chromeos::TimeZoneProvider (Closed)
Patch Set: Created 4 years, 4 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 | « no previous file | chromeos/timezone/timezone_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/timezone/timezone_provider.h
diff --git a/chromeos/timezone/timezone_provider.h b/chromeos/timezone/timezone_provider.h
index b445f2ceea0663df1049847d50c711807a6fbb44..003f2b563f1d3ac951e44757c5590db2109199db 100644
--- a/chromeos/timezone/timezone_provider.h
+++ b/chromeos/timezone/timezone_provider.h
@@ -6,10 +6,10 @@
#define CHROMEOS_TIMEZONE_TIMEZONE_PROVIDER_H_
#include <memory>
+#include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_checker.h"
#include "base/time/time.h"
@@ -53,7 +53,7 @@ class CHROMEOS_EXPORT TimeZoneProvider {
// Requests in progress.
// TimeZoneProvider owns all requests, so this vector is deleted on destroy.
- ScopedVector<TimeZoneRequest> requests_;
+ std::vector<std::unique_ptr<TimeZoneRequest>> requests_;
// Creation and destruction should happen on the same thread.
base::ThreadChecker thread_checker_;
« no previous file with comments | « no previous file | chromeos/timezone/timezone_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698