|
[Sync] Add support for performing a GetKey on startup.
The functionality is behind the --sync-keystore-encryption flag, and the key
is not currently consumed by anything, but this lays the groundwork for testing
the server and client interaction.
We request a key anytime we perform a GetUpdates while the cryptographer
does not have a keystore key. But, it is considered an error to request a key
and not receive one, putting us into a state of backoff.
BUG= 129665
TEST=sync_unit_tests, running against python server
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149248
Total comments: 10
Total comments: 8
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+288 lines, -77 lines) |
Patch |
 |
M |
chrome/browser/sync/about_sync_util.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -0 lines |
2 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/sync_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/tools/testserver/chromiumsync.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
7 chunks |
+18 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/tools/testserver/chromiumsync_test.py
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/engine/download_updates_command.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+1 line, -10 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
9 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_whitebox_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/engine/syncer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+35 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/internal_components_factory_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/internal_components_factory.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/internal_components_factory_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/sessions/model_neutral_state.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/sessions/model_neutral_state.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/sync_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/test/fake_sync_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/test/test_internal_components_factory.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/syncapi_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/test/fake_sync_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/test/test_internal_components_factory.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/sync.proto
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+30 lines, -19 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/status_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/status_controller.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/sync_session.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/sync_session_context.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/sessions/sync_session_context.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/sync_session_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/sessions/test_util.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/test_util.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/test/engine/mock_connection_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/test/engine/mock_connection_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/test/engine/syncer_command_test.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/tools/sync_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/util/cryptographer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/util/cryptographer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/util/get_session_name.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|