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

Issue 1283543003: [Android] Add a java.lang.System wrapper. (Closed)

Created:
5 years, 4 months ago by jdduke (slow)
Modified:
5 years, 4 months ago
Reviewers:
danakj, rmcilroy, davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org, Deprecated (see juliatuttle)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Add a java.lang.System wrapper. Add a basic JNI wrapper for java.lang.System. Expose just the getProperty() method, eliminating a deprecated __system_property_get usage as well as a seperate System.getProperty wrapper. The remaining uses of __system_property_get will be removed in https://codereview.chromium.org/1236283002/. BUG=392196, 392191 Committed: https://crrev.com/130c6bf9db16a69fca8488da8e15e978470e7e8b Cr-Commit-Position: refs/heads/master@{#343245}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -28 lines) Patch
M base/BUILD.gn View 1 3 chunks +9 lines, -0 lines 0 comments Download
M base/android/base_jni_registrar.cc View 2 chunks +2 lines, -0 lines 0 comments Download
A base/android/java_system.h View 1 chunk +30 lines, -0 lines 0 comments Download
A base/android/java_system.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M base/base.gyp View 2 chunks +11 lines, -0 lines 0 comments Download
M base/base.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M net/android/java/src/org/chromium/net/ProxyChangeListener.java View 1 chunk +0 lines, -5 lines 0 comments Download
M net/dns/dns_config_service_posix.cc View 1 2 chunks +6 lines, -14 lines 0 comments Download
M net/proxy/proxy_config_service_android.cc View 2 chunks +2 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
jdduke (slow)
+rmcilroy for base/android +ttuttle for net/
5 years, 4 months ago (2015-08-07 22:14:19 UTC) #2
rmcilroy
Thanks for doing this! I'd been meaning to get around to removing the __system_property_get calls ...
5 years, 4 months ago (2015-08-10 12:36:05 UTC) #3
jdduke (slow)
+danakj for the rest of base/.
5 years, 4 months ago (2015-08-10 20:30:47 UTC) #5
danakj
RS LGTM
5 years, 4 months ago (2015-08-10 20:35:37 UTC) #6
jdduke (slow)
+davidben for net/, looks like ttuttle is OOO.
5 years, 4 months ago (2015-08-13 15:38:21 UTC) #8
davidben
https://codereview.chromium.org/1283543003/diff/1/net/dns/dns_config_service_posix.cc File net/dns/dns_config_service_posix.cc (left): https://codereview.chromium.org/1283543003/diff/1/net/dns/dns_config_service_posix.cc#oldcode159 net/dns/dns_config_service_posix.cc:159: // are implementation details that may disappear in future ...
5 years, 4 months ago (2015-08-13 15:53:43 UTC) #9
jdduke (slow)
https://codereview.chromium.org/1283543003/diff/1/net/dns/dns_config_service_posix.cc File net/dns/dns_config_service_posix.cc (left): https://codereview.chromium.org/1283543003/diff/1/net/dns/dns_config_service_posix.cc#oldcode159 net/dns/dns_config_service_posix.cc:159: // are implementation details that may disappear in future ...
5 years, 4 months ago (2015-08-13 17:19:13 UTC) #10
davidben
net lgtm
5 years, 4 months ago (2015-08-13 17:21:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1283543003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1283543003/20001
5 years, 4 months ago (2015-08-13 17:34:23 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-13 18:49:30 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/130c6bf9db16a69fca8488da8e15e978470e7e8b Cr-Commit-Position: refs/heads/master@{#343245}
5 years, 4 months ago (2015-08-13 18:50:12 UTC) #16
jdduke (slow)
5 years, 4 months ago (2015-08-14 18:05:25 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1294883002/ by jdduke@chromium.org.

The reason for reverting is: This doesn't actually work..

Powered by Google App Engine
This is Rietveld 408576698