Index: components/sync_driver/device_info_sync_service.h |
diff --git a/components/sync_driver/device_info_sync_service.h b/components/sync_driver/device_info_sync_service.h |
index aadeff96e3cf94e8c6020cd3648c72efd13a9368..2f1e89a2d7f0a7b6fcb1b9f68ba04bc213501372 100644 |
--- a/components/sync_driver/device_info_sync_service.h |
+++ b/components/sync_driver/device_info_sync_service.h |
@@ -8,6 +8,8 @@ |
#include <map> |
#include <string> |
+#include "base/memory/scoped_ptr.h" |
+#include "base/memory/scoped_vector.h" |
#include "base/observer_list.h" |
#include "components/sync_driver/device_info_tracker.h" |
#include "sync/api/sync_change_processor.h" |
@@ -60,7 +62,7 @@ class DeviceInfoSyncService : public syncer::SyncableService, |
const sync_pb::EntitySpecifics& entity); |
// Allocate new DeviceInfo from SyncData. |
- static DeviceInfo* CreateDeviceInfo(const syncer::SyncData sync_data); |
+ static DeviceInfo* CreateDeviceInfo(const syncer::SyncData& sync_data); |
// Store SyncData in the cache. |
void StoreSyncData(const std::string& client_id, |
const syncer::SyncData& sync_data); |