Registration of DevTools bridge in GCD.
Code for registering and unregistering instance of DevTools bridge in GCD. GCDRegistrationFragment is able to perform registration including: 1. Asking user for desired account to register. 2. Requesting OAuth permissions for GCD (may show confirmation activity to the user). 3. Registration in Cloud Messages if needed. It also shows toasts with registration/unregistration results. GCDRegistrationFragment is absstract and has no views. Testing implementation shows button "Registed in GCD/Unregister (registered for ...)". Registration is not persistent yet. BUG=383418 TEST=New button in main activity of DevToolsBridgeTest.apk: register/unregister. Review URL: https://codereview.chromium.org/677843006 Cr-Commit-Position: refs/heads/master@{#302251}
Showing
This diff is collapsed.
Please register or sign in to comment