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

Issue 11778084: [sync] Add java InvalidationController for Android. (Closed)

Created:
7 years, 11 months ago by nyquist
Modified:
7 years, 11 months ago
CC:
chromium-reviews, Raghu Simha, haitaol1, erikwright+watch_chromium.org, akalin
Visibility:
Public.

Description

[sync] Add java InvalidationController for Android. * Adds InvalidationController to facilitate the move to the new invalidation client, but still supporting the old way. * Sets up the chromium test shell to be able to run the new tests for sync. * Upstreaming a few base test utilities for MockContext and SharedPreferences. InvalidationController and InvalidationControllerTest provided by dsmyers@chromium.org. BUG=159221 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176533

Patch Set 1 #

Patch Set 2 : Added extra assert in test for stopping invalidation #

Patch Set 3 : Fixed gyp conditional #

Total comments: 22

Patch Set 4 : Rebase #

Patch Set 5 : Addressed comments #

Patch Set 6 : Rebased #

Patch Set 7 : Moved ModelType to correct package #

Unified diffs Side-by-side diffs Delta from patch set Stats (+709 lines, -4 lines) Patch
A base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java View 1 2 3 4 1 chunk +103 lines, -0 lines 0 comments Download
A base/test/android/javatests/src/org/chromium/base/test/util/InMemorySharedPreferences.java View 1 2 3 4 1 chunk +187 lines, -0 lines 0 comments Download
M chrome/android/testshell/java/AndroidManifest.xml View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
A + sync/android/OWNERS View 1 chunk +1 line, -2 lines 0 comments Download
A sync/android/java/src/org/chromium/sync/internal_api/pub/base/ModelType.java View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
A sync/android/java/src/org/chromium/sync/notifier/InvalidationController.java View 1 2 3 4 5 6 1 chunk +179 lines, -0 lines 0 comments Download
A sync/android/javatests/src/org/chromium/sync/notifier/InvalidationControllerTest.java View 1 2 3 4 5 6 1 chunk +154 lines, -0 lines 0 comments Download
M sync/sync.gyp View 1 2 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
nyquist
yfriedman: All parts dsmyers: sync/notifier parts
7 years, 11 months ago (2013-01-10 18:39:39 UTC) #1
Yaron
https://codereview.chromium.org/11778084/diff/1010/base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java File base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java (right): https://codereview.chromium.org/11778084/diff/1010/base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java#newcode18 base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java:18: * Simple ContextWrapper that adds functionality for SharedPreferences and ...
7 years, 11 months ago (2013-01-10 19:29:40 UTC) #2
nyquist
addressed all comments. yfriedman: PTAL https://codereview.chromium.org/11778084/diff/1010/base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java File base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java (right): https://codereview.chromium.org/11778084/diff/1010/base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java#newcode18 base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java:18: * Simple ContextWrapper that ...
7 years, 11 months ago (2013-01-10 22:01:42 UTC) #3
Yaron
lgtm
7 years, 11 months ago (2013-01-11 03:12:46 UTC) #4
nyquist
thakis: chrome/ non-android folders (ie. gyp) tim: sync/
7 years, 11 months ago (2013-01-11 20:54:20 UTC) #5
tim (not reviewing)
On 2013/01/11 20:54:20, nyquist wrote: > thakis: chrome/ non-android folders (ie. gyp) > tim: sync/ ...
7 years, 11 months ago (2013-01-11 20:58:34 UTC) #6
Nico
chrome lgtm
7 years, 11 months ago (2013-01-11 21:16:46 UTC) #7
nyquist
tim: Moved ModelType. PTAL.
7 years, 11 months ago (2013-01-12 01:36:52 UTC) #8
tim (not reviewing)
LGTM
7 years, 11 months ago (2013-01-12 01:43:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/11778084/26001
7 years, 11 months ago (2013-01-12 01:54:02 UTC) #10
commit-bot: I haz the power
7 years, 11 months ago (2013-01-12 16:07:21 UTC) #11
Message was sent while issue was closed.
Change committed as 176533

Powered by Google App Engine
This is Rietveld 408576698