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

Issue 10443024: Added chrome switch that lets tests override URL path, moved GAIA auth extension from CrOS (Closed)

Created:
8 years, 7 months ago by zel
Modified:
6 years ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, nkostylev+watch_chromium.org, Aaron Boodman, arv (Not doing code reviews), oshima+watch_chromium.org, stevenjb+watch_chromium.org, Isaac (away)
Visibility:
Public.

Description

Added chrome switch that lets tests override URL path prefix for GAIA login requests. Moved GAIA auth extension to Chrome resources. BUG=129644 TEST=make sure gaia enterprise enrolment tests work when we pass additional --gaia-url-path switch TBR=csilv (chrome/browser/resources part) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139134

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : #

Patch Set 4 : lint fixes #

Patch Set 5 : rebase #

Total comments: 7

Patch Set 6 : #

Patch Set 7 : #

Total comments: 34

Patch Set 8 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+671 lines, -108 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/component_loader.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 2 chunks +31 lines, -25 lines 0 comments Download
D chrome/browser/resources/chromeos/gaia_auth/manifest.json View 1 2 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/resources/chromeos/gaia_auth/manifest_test.json View 1 2 1 chunk +0 lines, -40 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_gaia_signin.js View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/resources/component_extension_resources.grd View 1 2 3 4 5 1 chunk +12 lines, -1 line 0 comments Download
A chrome/browser/resources/gaia_auth/OWNERS View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth/main.css View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth/main.html View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth/main.js View 1 2 3 1 chunk +122 lines, -0 lines 0 comments Download
A + chrome/browser/resources/gaia_auth/manifest.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/resources/gaia_auth/manifest_test.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/resources/gaia_auth/offline.css View 1 2 1 chunk +272 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth/offline.html View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth/offline.js View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth/success.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth/success.js View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth/test/content.js View 1 2 3 1 chunk +33 lines, -0 lines 1 comment Download
A chrome/browser/resources/gaia_auth/util.js View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.cc View 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/net/gaia/gaia_urls.cc View 1 2 3 4 5 6 7 1 chunk +22 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
zel
8 years, 7 months ago (2012-05-25 18:52:39 UTC) #1
Nikita (slow)
lgtm https://chromiumcodereview.appspot.com/10443024/diff/9001/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js File chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js (left): https://chromiumcodereview.appspot.com/10443024/diff/9001/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js#oldcode187 chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js:187: if (data.gaiaOrigin) Why this check was removed? Still ...
8 years, 7 months ago (2012-05-25 19:37:17 UTC) #2
xiyuan
LGTM with nits. https://chromiumcodereview.appspot.com/10443024/diff/9001/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js File chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js (left): https://chromiumcodereview.appspot.com/10443024/diff/9001/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js#oldcode187 chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js:187: if (data.gaiaOrigin) On 2012/05/25 19:37:17, Nikita ...
8 years, 7 months ago (2012-05-25 20:03:12 UTC) #3
zel
https://chromiumcodereview.appspot.com/10443024/diff/9001/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js File chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js (left): https://chromiumcodereview.appspot.com/10443024/diff/9001/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js#oldcode187 chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js:187: if (data.gaiaOrigin) On 2012/05/25 20:03:12, xiyuan wrote: > On ...
8 years, 7 months ago (2012-05-25 20:13:45 UTC) #4
asargent_no_longer_on_chrome
LGTM
8 years, 7 months ago (2012-05-25 21:49:31 UTC) #5
csilv
http://codereview.chromium.org/10443024/diff/2004/chrome/browser/resources/gaia_auth/main.css File chrome/browser/resources/gaia_auth/main.css (right): http://codereview.chromium.org/10443024/diff/2004/chrome/browser/resources/gaia_auth/main.css#newcode8 chrome/browser/resources/gaia_auth/main.css:8: margin: 0px; nit: remove 'px' for 0 values. http://codereview.chromium.org/10443024/diff/2004/chrome/browser/resources/gaia_auth/main.html ...
8 years, 7 months ago (2012-05-25 22:38:39 UTC) #6
zel
All fixes below are made in https://chromiumcodereview.appspot.com/10440061 http://codereview.chromium.org/10443024/diff/2004/chrome/browser/resources/gaia_auth/main.css File chrome/browser/resources/gaia_auth/main.css (right): http://codereview.chromium.org/10443024/diff/2004/chrome/browser/resources/gaia_auth/main.css#newcode8 chrome/browser/resources/gaia_auth/main.css:8: margin: 0px; ...
8 years, 7 months ago (2012-05-25 23:33:52 UTC) #7
Steve Block
8 years, 6 months ago (2012-06-11 17:39:08 UTC) #8
https://chromiumcodereview.appspot.com/10443024/diff/8028/chrome/browser/reso...
File chrome/browser/resources/gaia_auth/test/content.js (right):

https://chromiumcodereview.appspot.com/10443024/diff/8028/chrome/browser/reso...
chrome/browser/resources/gaia_auth/test/content.js:3: // found in the LICENSE
file.
Did you intend for some of these resource files to use a non-standard license
header?

If this really is CrOS code, I believe the policy is that all third-party code
should live in a directory named 'third-party' -
http://www.chromium.org/developers/adding-3rd-party-libraries

If not, we should fix the copyright and the date.

Powered by Google App Engine
This is Rietveld 408576698