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

Unified Diff: components/sync_driver/backend_data_type_configurer.h

Issue 1907683003: Convert //components/sync_driver from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix, address feedback Created 4 years, 8 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_driver/backend_data_type_configurer.h
diff --git a/components/sync_driver/backend_data_type_configurer.h b/components/sync_driver/backend_data_type_configurer.h
index b882c227124ee4fb6f8c042cdd74e26c7ce70ef6..90909e406b27890abc8c695bd180238bb1f3c720 100644
--- a/components/sync_driver/backend_data_type_configurer.h
+++ b/components/sync_driver/backend_data_type_configurer.h
@@ -6,9 +6,9 @@
#define COMPONENTS_SYNC_DRIVER_BACKEND_DATA_TYPE_CONFIGURER_H_
#include <map>
+#include <memory>
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/configure_reason.h"
#include "sync/internal_api/public/engine/model_safe_worker.h"
@@ -81,7 +81,7 @@ class BackendDataTypeConfigurer {
// This must be called before initial sync for data type.
virtual void ActivateNonBlockingDataType(
syncer::ModelType type,
- scoped_ptr<syncer_v2::ActivationContext> activation_context) = 0;
+ std::unique_ptr<syncer_v2::ActivationContext> activation_context) = 0;
// Deactivates change processing for the given non-blocking data type.
virtual void DeactivateNonBlockingDataType(syncer::ModelType type) = 0;
« no previous file with comments | « components/sync_driver/about_sync_util_unittest.cc ('k') | components/sync_driver/backend_migrator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698