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

Issue 15937003: Change loading custom auth extension to load from --auth-ext-path value. (Closed)

Created:
7 years, 7 months ago by Tim Song
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org, Michael Courage
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Change loading custom auth extension to load from --auth-ext-path value. Before, if a custom auth extension is given through the --auth-ext-path flag, the manifest is loaded from the browser resource rather than the overriden path. We want to load the manifest from the given path instead. Also change ComponentLoader::AddOrReplace to return an empty string on failure for consistency with other ComponentLoader functions. BUG=239212 TEST=on cros device with custom telemetry auth extension Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202926

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Total comments: 3

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M chrome/browser/extensions/scoped_gaia_auth_extension.cc View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
Tim Song
This change is needed so we can log something meaningful when we fail to load ...
7 years, 7 months ago (2013-05-23 22:21:47 UTC) #1
achuithb
https://codereview.chromium.org/15937003/diff/2001/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (right): https://codereview.chromium.org/15937003/diff/2001/chrome/browser/extensions/component_loader.cc#newcode170 chrome/browser/extensions/component_loader.cc:170: return std::string(); let's split this file out of this ...
7 years, 7 months ago (2013-05-23 22:34:47 UTC) #2
Tim Song
https://codereview.chromium.org/15937003/diff/2001/chrome/browser/extensions/scoped_gaia_auth_extension.cc File chrome/browser/extensions/scoped_gaia_auth_extension.cc (right): https://codereview.chromium.org/15937003/diff/2001/chrome/browser/extensions/scoped_gaia_auth_extension.cc#newcode37 chrome/browser/extensions/scoped_gaia_auth_extension.cc:37: std::string extension_id = On 2013/05/23 22:34:47, achuith.bhandarkar wrote: > ...
7 years, 7 months ago (2013-05-23 23:07:05 UTC) #3
achuithb
lgtm https://codereview.chromium.org/15937003/diff/7001/chrome/browser/extensions/scoped_gaia_auth_extension.cc File chrome/browser/extensions/scoped_gaia_auth_extension.cc (right): https://codereview.chromium.org/15937003/diff/7001/chrome/browser/extensions/scoped_gaia_auth_extension.cc#newcode40 chrome/browser/extensions/scoped_gaia_auth_extension.cc:40: if (extension_id.empty()) Sorry, didn't notice this before, but ...
7 years, 7 months ago (2013-05-23 23:08:59 UTC) #4
achuithb
not lgtm. Where are the changes to AddOrReplace?
7 years, 7 months ago (2013-05-23 23:11:12 UTC) #5
Tim Song
+asargent Can you take a look at this change to chrome/browser/extensions?
7 years, 7 months ago (2013-05-23 23:12:31 UTC) #6
achuithb
On 2013/05/23 23:11:12, achuith.bhandarkar wrote: > not lgtm. > > Where are the changes to ...
7 years, 7 months ago (2013-05-23 23:12:40 UTC) #7
Tim Song
I moved the AddOrReplace changes to another CL as you suggested. https://codereview.chromium.org/15937003/diff/7001/chrome/browser/extensions/scoped_gaia_auth_extension.cc File chrome/browser/extensions/scoped_gaia_auth_extension.cc (right): ...
7 years, 7 months ago (2013-05-23 23:15:20 UTC) #8
achuithb
lgtm again.
7 years, 7 months ago (2013-05-23 23:17:00 UTC) #9
achuithb
https://codereview.chromium.org/15937003/diff/7001/chrome/browser/extensions/scoped_gaia_auth_extension.cc File chrome/browser/extensions/scoped_gaia_auth_extension.cc (right): https://codereview.chromium.org/15937003/diff/7001/chrome/browser/extensions/scoped_gaia_auth_extension.cc#newcode40 chrome/browser/extensions/scoped_gaia_auth_extension.cc:40: if (extension_id.empty()) On 2013/05/23 23:15:20, tengs wrote: > On ...
7 years, 7 months ago (2013-05-23 23:17:46 UTC) #10
asargent_no_longer_on_chrome
+cc courage as FYI, since I know he's been doing some changes in this area ...
7 years, 6 months ago (2013-05-28 18:30:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/15937003/13001
7 years, 6 months ago (2013-05-28 20:18:14 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=154802
7 years, 6 months ago (2013-05-29 01:34:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/15937003/13001
7 years, 6 months ago (2013-05-29 17:41:25 UTC) #14
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 19:00:00 UTC) #15
Message was sent while issue was closed.
Change committed as 202926

Powered by Google App Engine
This is Rietveld 408576698