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

Unified Diff: components/sync/engine_impl/cycle/data_type_tracker.h

Issue 2656303006: Remove Scopevector in //components/sync/ (Closed)
Patch Set: 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 | « no previous file | components/sync/engine_impl/cycle/data_type_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/cycle/data_type_tracker.h
diff --git a/components/sync/engine_impl/cycle/data_type_tracker.h b/components/sync/engine_impl/cycle/data_type_tracker.h
index 961511758c255b0a0156d51bd8f4f457eab79d5b..06715dc556130d78da62a9ffe495dc0b63c3da91 100644
--- a/components/sync/engine_impl/cycle/data_type_tracker.h
+++ b/components/sync/engine_impl/cycle/data_type_tracker.h
@@ -9,9 +9,9 @@
#include <memory>
#include <string>
+#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/time/time.h"
#include "components/sync/base/invalidation_interface.h"
#include "components/sync/base/model_type.h"
@@ -161,7 +161,7 @@ class DataTypeTracker {
// drop_tracker_.IsRecoveringFromDropEvent() and server_payload_overflow_.
//
// This list takes ownership of its contents.
- ScopedVector<InvalidationInterface> pending_invalidations_;
+ std::vector<std::unique_ptr<InvalidationInterface>> pending_invalidations_;
size_t payload_buffer_size_;
« no previous file with comments | « no previous file | components/sync/engine_impl/cycle/data_type_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698