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

Issue 2306673002: arc: update proxy settings from UI and ONC policy. (Closed)

Created:
4 years, 3 months ago by Polina Bondarenko
Modified:
4 years, 2 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: update proxy settings from UI and ONC policy. BUG=643239 TEST=manual(UI),autotest(extension API),browsertest(policy) Committed: https://crrev.com/eaa283bc635773c2dc963297d3ee22023ecf3215 Cr-Commit-Position: refs/heads/master@{#418665}

Patch Set 1 : arc: update proxy settings from UI and ONC policy. #

Total comments: 14

Patch Set 2 : Fixed comments #

Patch Set 3 : Removed a log line. #

Total comments: 20

Patch Set 4 : Fixed comments #

Total comments: 2

Patch Set 5 : const -> constexpr #

Patch Set 6 : Rebased #

Total comments: 7

Patch Set 7 : Fixed comments. #

Total comments: 2

Patch Set 8 : Fixed a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+618 lines, -20 lines) Patch
M chrome/browser/chromeos/arc/arc_settings_service.cc View 1 2 3 4 5 6 14 chunks +61 lines, -15 lines 0 comments Download
A chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc View 1 2 3 4 1 chunk +351 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/proxy_config_handler.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.cc View 1 2 3 4 5 6 3 chunks +42 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A components/arc/test/fake_intent_helper_instance.h View 1 1 chunk +87 lines, -0 lines 0 comments Download
A components/arc/test/fake_intent_helper_instance.cc View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (27 generated)
Polina Bondarenko
Hi! Please review this CL. ARC proxy settings are updated when default network proxy settings ...
4 years, 3 months ago (2016-09-02 13:04:54 UTC) #11
Luis Héctor Chávez
https://codereview.chromium.org/2306673002/diff/40001/components/arc/test/fake_intent_helper_instance.cc File components/arc/test/fake_intent_helper_instance.cc (right): https://codereview.chromium.org/2306673002/diff/40001/components/arc/test/fake_intent_helper_instance.cc#newcode23 components/arc/test/fake_intent_helper_instance.cc:23: mojom::ActionType action) { Can you run git cl format ...
4 years, 3 months ago (2016-09-02 15:58:48 UTC) #14
stevenjb
https://codereview.chromium.org/2306673002/diff/40001/chrome/browser/chromeos/arc/arc_settings_service.cc File chrome/browser/chromeos/arc/arc_settings_service.cc (right): https://codereview.chromium.org/2306673002/diff/40001/chrome/browser/chromeos/arc/arc_settings_service.cc#newcode67 chrome/browser/chromeos/arc/arc_settings_service.cc:67: profile->GetPrefs(), network->profile_path(), onc_source)) { Can we put this logic ...
4 years, 3 months ago (2016-09-02 16:20:55 UTC) #15
Polina Bondarenko
Thanks a lot for reviewing! Fixed comments. Tried to avoid sending meaningless extras with proxy ...
4 years, 3 months ago (2016-09-05 20:08:45 UTC) #19
stevenjb
This is looking better, thanks. Warning; I will be OOO the rest of the week, ...
4 years, 3 months ago (2016-09-06 15:49:06 UTC) #20
Luis Héctor Chávez
https://codereview.chromium.org/2306673002/diff/100001/chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc File chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc (right): https://codereview.chromium.org/2306673002/diff/100001/chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc#newcode46 chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc:46: // char kCmdProxyServer[] = "proxy:8888"; nit: don't check in ...
4 years, 3 months ago (2016-09-06 16:16:25 UTC) #21
Polina Bondarenko
Thanks a lot! Fixed comments and finally added working browser test for disconnecting default network. ...
4 years, 3 months ago (2016-09-06 19:38:46 UTC) #24
Luis Héctor Chávez
lgtm https://codereview.chromium.org/2306673002/diff/120001/chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc File chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc (right): https://codereview.chromium.org/2306673002/diff/120001/chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc#newcode47 chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc:47: const char kONCPolicy[] = sorry, I missed this ...
4 years, 3 months ago (2016-09-06 19:53:22 UTC) #25
Polina Bondarenko
https://codereview.chromium.org/2306673002/diff/120001/chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc File chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc (right): https://codereview.chromium.org/2306673002/diff/120001/chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc#newcode47 chrome/browser/chromeos/arc/arc_settings_service_browsertest.cc:47: const char kONCPolicy[] = On 2016/09/06 19:53:22, Luis Héctor ...
4 years, 3 months ago (2016-09-06 20:12:51 UTC) #26
stevenjb
https://codereview.chromium.org/2306673002/diff/160001/chrome/browser/chromeos/arc/arc_settings_service.cc File chrome/browser/chromeos/arc/arc_settings_service.cc (right): https://codereview.chromium.org/2306673002/diff/160001/chrome/browser/chromeos/arc/arc_settings_service.cc#newcode285 chrome/browser/chromeos/arc/arc_settings_service.cc:285: if (!IsPrefProxyConfigApplied()) This looks like it is missing a ...
4 years, 3 months ago (2016-09-12 19:59:26 UTC) #29
Polina Bondarenko
Hi Steven, I fixed comments, PTAL https://codereview.chromium.org/2306673002/diff/160001/chrome/browser/chromeos/arc/arc_settings_service.cc File chrome/browser/chromeos/arc/arc_settings_service.cc (right): https://codereview.chromium.org/2306673002/diff/160001/chrome/browser/chromeos/arc/arc_settings_service.cc#newcode285 chrome/browser/chromeos/arc/arc_settings_service.cc:285: if (!IsPrefProxyConfigApplied()) On ...
4 years, 3 months ago (2016-09-12 20:49:05 UTC) #30
stevenjb
lgtm https://codereview.chromium.org/2306673002/diff/160001/chrome/browser/chromeos/arc/arc_settings_service.cc File chrome/browser/chromeos/arc/arc_settings_service.cc (right): https://codereview.chromium.org/2306673002/diff/160001/chrome/browser/chromeos/arc/arc_settings_service.cc#newcode285 chrome/browser/chromeos/arc/arc_settings_service.cc:285: if (!IsPrefProxyConfigApplied()) On 2016/09/12 20:49:05, Polina Bondarenko wrote: ...
4 years, 3 months ago (2016-09-12 21:21:44 UTC) #31
Polina Bondarenko
Thanks a lot for reviewing! https://codereview.chromium.org/2306673002/diff/180001/chrome/browser/chromeos/proxy_config_service_impl.h File chrome/browser/chromeos/proxy_config_service_impl.h (right): https://codereview.chromium.org/2306673002/diff/180001/chrome/browser/chromeos/proxy_config_service_impl.h#newcode66 chrome/browser/chromeos/proxy_config_service_impl.h:66: // Returns NULL, if ...
4 years, 3 months ago (2016-09-12 22:10:22 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2306673002/200001
4 years, 3 months ago (2016-09-14 18:49:52 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:200001)
4 years, 3 months ago (2016-09-14 20:50:29 UTC) #41
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/eaa283bc635773c2dc963297d3ee22023ecf3215 Cr-Commit-Position: refs/heads/master@{#418665}
4 years, 3 months ago (2016-09-14 20:53:58 UTC) #43
Daniel Kurtz
4 years, 2 months ago (2016-10-03 07:55:13 UTC) #44
Message was sent while issue was closed.
On 2016/09/14 20:53:58, commit-bot: I haz the power wrote:
> Patchset 8 (id:??) landed as
> https://crrev.com/eaa283bc635773c2dc963297d3ee22023ecf3215
> Cr-Commit-Position: refs/heads/master@{#418665}

I believe this CL may be causing a Chrome crash on resume, see:
  https://bugs.chromium.org/p/chromium/issues/detail?id=652177

Powered by Google App Engine
This is Rietveld 408576698