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

Issue 304573002: Upstreaming of FeatureUtilities (part one) (Closed)

Created:
6 years, 7 months ago by picksi1
Modified:
6 years, 6 months ago
Reviewers:
picksi, bulach, Sami
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Upstreaming of FeatureUtilities (part one) The FeatureUtilities class has been moved upstream. The original class has been left in place; It will be removed and all package references changed to the new version once the change has been rolled into Clankium. Unit Tests for FeatureUtilities.java have been added. Currently I have added only tests for the speech recognition feature. BUG=243060 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275524

Patch Set 1 #

Total comments: 62

Patch Set 2 : Unit tests and upstreaming of FeatureUtilities #

Patch Set 3 : White space fixing #

Total comments: 30

Patch Set 4 : layout fixups #

Patch Set 5 : White space/layout fixes and some work moved into the Constructor #

Total comments: 4

Patch Set 6 : Layout fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -0 lines) Patch
A chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java View 1 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java View 1 2 3 4 5 1 chunk +247 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
picksi
I've moved FeatureUtility upstream; the old downstream version is still in the code, I'll remove ...
6 years, 7 months ago (2014-05-27 14:34:10 UTC) #1
bulach
thanks simon! mostly style nits and small suggestions below: https://codereview.chromium.org/304573002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java (right): https://codereview.chromium.org/304573002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java#newcode23 chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java:23: ...
6 years, 7 months ago (2014-05-27 15:17:15 UTC) #2
Sami
Thanks Simon, this looks pretty good. Is there a way we could test canAllowSync() too? ...
6 years, 7 months ago (2014-05-27 16:17:55 UTC) #3
picksi
I've fixed up everything from the first round of comments. I've also added two more ...
6 years, 6 months ago (2014-06-03 09:26:56 UTC) #4
bulach
lgtm, mostly nits below. thanks! https://codereview.chromium.org/304573002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java File chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java (right): https://codereview.chromium.org/304573002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java#newcode5 chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java:5: package org.chromium.chrome.browser.util; just noticed.. ...
6 years, 6 months ago (2014-06-03 15:05:50 UTC) #5
Sami
Thanks for adding the tests Simon. I think we have sufficient coverage here now. Just ...
6 years, 6 months ago (2014-06-03 15:19:56 UTC) #6
picksi
Fixed up all the layout issues, and changed AssertEquals to AssertTrue & AssertFalse (which look ...
6 years, 6 months ago (2014-06-03 16:32:27 UTC) #7
picksi
Layout updates done. Also moved some start up code out of setUp and into the ...
6 years, 6 months ago (2014-06-04 10:35:32 UTC) #8
Sami
Thanks for bearing with us Simon. lgtm with two tiny nits. https://codereview.chromium.org/304573002/diff/70001/chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java (right): ...
6 years, 6 months ago (2014-06-05 11:08:42 UTC) #9
picksi
All changes made. Will commit the code now. https://codereview.chromium.org/304573002/diff/70001/chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java (right): https://codereview.chromium.org/304573002/diff/70001/chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java#newcode40 chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java:40: { ...
6 years, 6 months ago (2014-06-06 16:48:27 UTC) #10
picksi
The CQ bit was checked by picksi@google.com
6 years, 6 months ago (2014-06-06 16:48:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/picksi@chromium.org/304573002/90001
6 years, 6 months ago (2014-06-06 16:50:02 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 21:15:20 UTC) #13
Message was sent while issue was closed.
Change committed as 275524

Powered by Google App Engine
This is Rietveld 408576698