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

Unified Diff: chrome/browser/sync/glue/device_info.h

Issue 566623003: Refactor syncable DEVICE_INFO type from ChangeProcessor to SyncableService - part 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit test fixes Created 6 years, 3 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: 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

Powered by Google App Engine
This is Rietveld 408576698