Chromium Code Reviews| Index: chrome/browser/sync/glue/device_info.h |
| diff --git a/chrome/browser/sync/glue/device_info.h b/chrome/browser/sync/glue/device_info.h |
| index a46e6508799a63c683522196d0633c96b3cd6c04..90d453ff968f38e1528615d0e61ff4108a138e93 100644 |
| --- a/chrome/browser/sync/glue/device_info.h |
| +++ b/chrome/browser/sync/glue/device_info.h |
| @@ -78,6 +78,9 @@ class DeviceInfo { |
| // which extension APIs can expose to third party apps. |
| base::DictionaryValue* ToValue(); |
| + // Makes a copy of |DeviceInfo|. |
| + DeviceInfo* Clone() const; |
|
stanisc
2014/09/16 00:17:40
Would you rather have a copy constructor?
pavely
2014/09/17 23:04:38
Discussed in person.
You can keep Clone, it depend
stanisc
2014/09/18 22:46:53
I decided to get rid of Clone. My next change woul
|
| + |
| static sync_pb::SyncEnums::DeviceType GetLocalDeviceType(); |
| // Creates a |DeviceInfo| object representing the local device and passes |