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

Issue 1414203016: [Sync] Introduce GmsCoreSyncListener. (Closed)

Created:
5 years, 1 month ago by maxbogue
Modified:
5 years, 1 month ago
Reviewers:
nyquist, Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Introduce GmsCoreSyncListener. This change introduces a framework for sharing the user's custom passphrase encryption key with GmsCore. This is to prevent users from seeing the custom passphrase dialog pop up in GmsCore after they have already entered it in Chrome. BUG=552106 Committed: https://crrev.com/774f31729ab739d01f63aa3f10b18140b8ea1df2 Cr-Commit-Position: refs/heads/master@{#360344}

Patch Set 1 #

Patch Set 2 : Fix some things. #

Patch Set 3 : Rebase. #

Patch Set 4 : Fix tests. #

Total comments: 8

Patch Set 5 : Move GetCustomPassphraseKey declaration. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -10 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/sync/GmsCoreSyncListener.java View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/FakeServerHelper.java View 2 chunks +15 lines, -0 lines 0 comments Download
A chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListenerTest.java View 1 1 chunk +129 lines, -0 lines 0 comments Download
M chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/SyncTestBase.java View 1 4 chunks +27 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_android.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_android.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java View 2 chunks +12 lines, -5 lines 0 comments Download
M components/browser_sync/browser/profile_sync_service.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/browser_sync/browser/profile_sync_service.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M sync/test/fake_server/android/fake_server_helper_android.h View 1 chunk +3 lines, -0 lines 0 comments Download
M sync/test/fake_server/android/fake_server_helper_android.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M sync/test/fake_server/fake_server.h View 1 chunk +3 lines, -0 lines 0 comments Download
M sync/test/fake_server/fake_server.cc View 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
maxbogue
Hey Tommy, I finally got around to fixing the last test issues with this. PTAL!
5 years, 1 month ago (2015-11-13 22:26:03 UTC) #2
nyquist
lgtm, but it'd be great if zea@ could also look at the crypto-things. zea: could ...
5 years, 1 month ago (2015-11-17 20:33:09 UTC) #4
maxbogue
https://codereview.chromium.org/1414203016/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/sync/GmsCoreSyncListener.java File chrome/android/java/src/org/chromium/chrome/browser/sync/GmsCoreSyncListener.java (right): https://codereview.chromium.org/1414203016/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/sync/GmsCoreSyncListener.java#newcode28 chrome/android/java/src/org/chromium/chrome/browser/sync/GmsCoreSyncListener.java:28: ProfileSyncService syncService = ProfileSyncService.get(); On 2015/11/17 20:33:09, nyquist wrote: ...
5 years, 1 month ago (2015-11-17 22:14:12 UTC) #5
Nicolas Zea
LGTM with some nits https://codereview.chromium.org/1414203016/diff/60001/chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListenerTest.java File chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListenerTest.java (right): https://codereview.chromium.org/1414203016/diff/60001/chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListenerTest.java#newcode62 chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListenerTest.java:62: public void testGetsKey() throws Throwable ...
5 years, 1 month ago (2015-11-17 22:47:45 UTC) #6
maxbogue
https://codereview.chromium.org/1414203016/diff/60001/chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListenerTest.java File chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListenerTest.java (right): https://codereview.chromium.org/1414203016/diff/60001/chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListenerTest.java#newcode62 chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListenerTest.java:62: public void testGetsKey() throws Throwable { On 2015/11/17 22:47:45, ...
5 years, 1 month ago (2015-11-17 23:25:31 UTC) #7
Nicolas Zea
Hmm, I see. As long as testGetsKey is making sure that we don't regress and ...
5 years, 1 month ago (2015-11-18 00:37:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414203016/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414203016/80001
5 years, 1 month ago (2015-11-18 16:19:45 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-18 16:27:05 UTC) #12
commit-bot: I haz the power
5 years, 1 month ago (2015-11-18 16:28:20 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/774f31729ab739d01f63aa3f10b18140b8ea1df2
Cr-Commit-Position: refs/heads/master@{#360344}

Powered by Google App Engine
This is Rietveld 408576698