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

Unified Diff: third_party/libaddressinput/chromium/chrome_storage_impl.h

Issue 2968273002: Remove ScopedVector from third_party/libaddressinput/ (Closed)
Patch Set: Created 3 years, 5 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: third_party/libaddressinput/chromium/chrome_storage_impl.h
diff --git a/third_party/libaddressinput/chromium/chrome_storage_impl.h b/third_party/libaddressinput/chromium/chrome_storage_impl.h
index 6a08adc59e2ac7ed27e832d9715cfc691a69238b..328784d57bb9d5ea8a2f8a1f0e72520090f92288 100644
--- a/third_party/libaddressinput/chromium/chrome_storage_impl.h
+++ b/third_party/libaddressinput/chromium/chrome_storage_impl.h
@@ -6,10 +6,11 @@
#define THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_STORAGE_IMPL_H_
#include <list>
+#include <memory>
#include <string>
+#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/scoped_observer.h"
#include "components/prefs/pref_store.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/storage.h"
@@ -50,7 +51,7 @@ class ChromeStorageImpl : public ::i18n::addressinput::Storage,
WriteablePrefStore* backing_store_; // weak
// Get requests that haven't yet been serviced.
- ScopedVector<Request> outstanding_requests_;
+ std::vector<std::unique_ptr<Request>> outstanding_requests_;
ScopedObserver<PrefStore, ChromeStorageImpl> scoped_observer_;

Powered by Google App Engine
This is Rietveld 408576698