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

Unified Diff: components/sync/core/sync_manager.h

Issue 2284283002: Remove stl_util's STLElementDeleter from sync. (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
Index: components/sync/core/sync_manager.h
diff --git a/components/sync/core/sync_manager.h b/components/sync/core/sync_manager.h
index 7557d77804a79811cd19be4164465613557caac8..f1cbfbb69664b98f85fe01cf229e2019c9ba7d99 100644
--- a/components/sync/core/sync_manager.h
+++ b/components/sync/core/sync_manager.h
@@ -14,7 +14,6 @@
#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "base/task_runner.h"
#include "base/threading/thread_checker.h"
#include "components/sync/base/invalidation_interface.h"
@@ -374,7 +373,8 @@ class SyncManager {
virtual void RefreshTypes(ModelTypeSet types) = 0;
// Returns any buffered protocol events. Does not clear the buffer.
- virtual ScopedVector<syncer::ProtocolEvent> GetBufferedProtocolEvents() = 0;
+ virtual std::vector<std::unique_ptr<ProtocolEvent>>
+ GetBufferedProtocolEvents() = 0;
// Functions to manage registrations of DebugInfoObservers.
virtual void RegisterDirectoryTypeDebugInfoObserver(
« no previous file with comments | « components/browser_sync/browser/profile_sync_service.cc ('k') | components/sync/core/test/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698