|
sync: Add DeviceInfo protobuf and supporting code
This commit introduces the DeviceInfo type and protobuf. It also
introduces the DeviceInfo class, which provides an interface for the
rest of the code to access the information stored within the DeviceInfo
type. The DeviceInfo class takes over some functions that used to
belong to the SessionModelAssociator.
The ChangeProcessor that keeps this information up to date and exposes
notifications of device info changes will be added in a future commit.
At the time of this commit, this should all be mostly dead code. The
server does not support this type yet, so we do not yet attempt to
download or manipulate any actual DeviceInfo nodes.
BUG= 122825
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161496
Total comments: 18
Total comments: 1
Total comments: 14
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+381 lines, -207 lines) |
Patch |
 |
M |
chrome/browser/sync/glue/DEPS
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/glue/device_info.h
|
View
|
1
2
3
4
5
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/glue/device_info.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+141 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/model_association_manager.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+10 lines, -35 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -35 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_session_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sync_prefs_unittest.cc
|
View
|
|
5 chunks |
+14 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test_profile_sync_service.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/user_selectable_sync_type.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/base_node.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/base/model_type.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/base_node.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/write_node.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/write_node.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/protocol/device_info_specifics.proto
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/nigori_specifics.proto
|
View
|
|
2 chunks |
+2 lines, -19 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_enum_conversions.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_enum_conversions.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_value_conversions.h
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_value_conversions.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_value_conversions_unittest.cc
|
View
|
|
4 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/protocol/session_specifics.proto
|
View
|
1
2
3
|
1 chunk |
+1 line, -10 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/sync.proto
|
View
|
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/sync_enums.proto
|
View
|
1
2
3
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/sync_proto.gyp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/syncable/model_type.cc
|
View
|
|
10 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/util/data_type_histogram.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|