DescriptionPyAuto hooks for Sync in TestingAutomationProvider
This patch exposes hooks for sync in TestingAutomationProvider that the chrome pyauto test suite can use. It contains the following changes:
- Partial revert of an earlier change to ProfileSyncServiceHarness. Some of its methods were made pure virtual, but this ended up being unnecessary. Also ripped out unnecessary code from LiveSyncTest.
- Minor refactor of ProfileSyncServiceHarness to allow for scenarios where the browser is restarted.
- A bunch of new methods in TestingAutomationProvider: SignInToSync, GetSyncInfo, AwaitSyncCycleCompletion, EnableSyncForDatatypes and DisableSyncForDatatypes.
- A new method in model_type.h/cc called ModelTypeFromString. Required for automation.
- New APIs in pyauto.py for sync.
- New test suite sync.py with sample tests.
BUG=53651, 60970, 56460, 61639
TEST=run pyauto sync tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64988
Patch Set 1 #Patch Set 2 : Self review. #Patch Set 3 : Fix warnings. #
Total comments: 14
Patch Set 4 : Debugging. #Patch Set 5 : Debugging done. Feature work remaining. #Patch Set 6 : More functionality. #Patch Set 7 : Rebase; fix warnings. #
Total comments: 3
Patch Set 8 : Rebase; CR feedback; Fix linux build. #Patch Set 9 : Rebase; Add restart functionality. #
Total comments: 4
Patch Set 10 : CR feedback. #Patch Set 11 : More CR changes. #
Total comments: 2
Patch Set 12 : Rebase; Addressing final review comment. #Messages
Total messages: 13 (0 generated)
|