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

Issue 13820014: Show online policy on CrOS EULA page (Closed)

Created:
7 years, 8 months ago by vasilii
Modified:
7 years, 8 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

CL modifies behavior of 'chrome://terms'. It should show online policy on CrOS. In case of timeout (10 sec proposed by Nikita) the static version is shown. The real online resource isn't available at the moment. BUG=174271 TBR=cpu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195152

Patch Set 1 #

Patch Set 2 : Modify chrome://terms to show online content #

Total comments: 25

Patch Set 3 : Add localization and "Loading" string #

Total comments: 2

Patch Set 4 : Changed a comment #

Total comments: 1

Patch Set 5 : Set real URL, check for HTTP response code #

Patch Set 6 : Set the final URL #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -31 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe.css View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_eula.html View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_eula.js View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 1 2 3 4 5 6 chunks +127 lines, -29 lines 1 comment Download
M chrome/browser/ui/webui/chromeos/login/eula_screen_handler.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
vasilii
Hi, Please review the implementation and share your thoughts.
7 years, 8 months ago (2013-04-15 17:24:25 UTC) #1
Evan Stade
ping me when the others are done reviewing it. If it changes I'd have to ...
7 years, 8 months ago (2013-04-15 19:35:08 UTC) #2
Nikita (slow)
https://codereview.chromium.org/13820014/diff/2001/chrome/browser/resources/chromeos/login/oobe_screen_eula.js File chrome/browser/resources/chromeos/login/oobe_screen_eula.js (right): https://codereview.chromium.org/13820014/diff/2001/chrome/browser/resources/chromeos/login/oobe_screen_eula.js#newcode78 chrome/browser/resources/chromeos/login/oobe_screen_eula.js:78: get buttons() { On 2013/04/15 19:35:08, Evan Stade wrote: ...
7 years, 8 months ago (2013-04-16 04:36:35 UTC) #3
battre
https://codereview.chromium.org/13820014/diff/2001/chrome/browser/ui/webui/about_ui.cc File chrome/browser/ui/webui/about_ui.cc (right): https://codereview.chromium.org/13820014/diff/2001/chrome/browser/ui/webui/about_ui.cc#newcode150 chrome/browser/ui/webui/about_ui.cc:150: fetch_callback_(callback) { nit: : in next line, +2 indentation ...
7 years, 8 months ago (2013-04-16 08:34:22 UTC) #4
vasilii
Dominic, Nikita: I addressed your comments. Added localization support and "Loading" notification. Carlos: please review ...
7 years, 8 months ago (2013-04-16 15:40:18 UTC) #5
cpu_(ooo_6.6-7.5)
grd changes can be TBR thanks.
7 years, 8 months ago (2013-04-16 21:28:52 UTC) #6
battre
lgtm https://codereview.chromium.org/13820014/diff/12001/chrome/browser/ui/webui/about_ui.cc File chrome/browser/ui/webui/about_ui.cc (right): https://codereview.chromium.org/13820014/diff/12001/chrome/browser/ui/webui/about_ui.cc#newcode145 chrome/browser/ui/webui/about_ui.cc:145: // Helper class that fetches the online Chrome ...
7 years, 8 months ago (2013-04-17 10:41:19 UTC) #7
Nikita (slow)
lgtm
7 years, 8 months ago (2013-04-17 12:49:41 UTC) #8
vasilii
Evan: it's time. The only pending thing is a real URL in chromeos_strings.grdp. https://codereview.chromium.org/13820014/diff/12001/chrome/browser/ui/webui/about_ui.cc File ...
7 years, 8 months ago (2013-04-17 16:58:56 UTC) #9
Evan Stade
lgtm https://codereview.chromium.org/13820014/diff/26001/chrome/browser/resources/chromeos/login/oobe_screen_eula.html File chrome/browser/resources/chromeos/login/oobe_screen_eula.html (right): https://codereview.chromium.org/13820014/diff/26001/chrome/browser/resources/chromeos/login/oobe_screen_eula.html#newcode6 chrome/browser/resources/chromeos/login/oobe_screen_eula.html:6: src="about:blank"></iframe> 2 more indent
7 years, 8 months ago (2013-04-17 23:02:43 UTC) #10
battre
still LGTM after checking the return code.
7 years, 8 months ago (2013-04-18 15:59:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/13820014/40001
7 years, 8 months ago (2013-04-19 09:20:35 UTC) #12
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=30701
7 years, 8 months ago (2013-04-19 11:08:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/13820014/40001
7 years, 8 months ago (2013-04-19 12:00:45 UTC) #14
commit-bot: I haz the power
Change committed as 195152
7 years, 8 months ago (2013-04-19 13:07:42 UTC) #15
battre
7 years, 8 months ago (2013-04-22 08:13:19 UTC) #16
Message was sent while issue was closed.
Sorry that I spotted this so late.

https://chromiumcodereview.appspot.com/13820014/diff/40001/chrome/browser/ui/...
File chrome/browser/ui/webui/about_ui.cc (right):

https://chromiumcodereview.appspot.com/13820014/diff/40001/chrome/browser/ui/...
chrome/browser/ui/webui/about_ui.cc:159:
eula_fetcher_->AddExtraRequestHeader("Accept: text/html");
Can you please add

  eula_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES |
                              net::LOAD_DO_NOT_SAVE_COOKIES);

Optionally you can add | net::LOAD_DISABLE_CACHE you can discuss this with
Sumit).

Thanks.

Powered by Google App Engine
This is Rietveld 408576698