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

Issue 315413004: Remove param |context_type| from InitOriginPermissions (Closed)

Created:
6 years, 6 months ago by kouhei (in TOK)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, hirono
Visibility:
Public.

Description

Remove param |context_type| from InitOriginPermissions This CL is to prepare for https://codereview.chromium.org/315143003 . This param |context_type| was added in https://codereview.chromium.org/169053005 , but its only usage in |ChromeExtensionsDispatcherDelegate::InitOriginPermissions| seems unnecesary. The reason is that |WebSecurityPolicy::addOriginAccessWhitelistEntry| operates on the global whitelist map valid for all context within the renderer process. BUG=380346, 380502 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276101

Patch Set 1 #

Total comments: 1

Patch Set 2 : is_extension_active #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -12 lines) Patch
M chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/renderer/dispatcher.h View 1 chunk +1 line, -2 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M extensions/renderer/dispatcher_delegate.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
kouhei (in TOK)
kalman, mpcomplete: Would you take a look?
6 years, 6 months ago (2014-06-06 04:41:19 UTC) #1
not at google - send to devlin
thanks for making this change. https://codereview.chromium.org/315413004/diff/1/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc File chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc (right): https://codereview.chromium.org/315413004/diff/1/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc#newcode76 chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc:76: if (extension->HasAPIPermission(extensions::APIPermission::kManagement)) { I'm ...
6 years, 6 months ago (2014-06-06 18:55:19 UTC) #2
Matt Perry
lgtm with kalman's suggestion
6 years, 6 months ago (2014-06-06 20:26:58 UTC) #3
kouhei (in TOK)
PTAL > - just pass in a bool whether the extension is active Done.
6 years, 6 months ago (2014-06-09 04:42:27 UTC) #4
not at google - send to devlin
lgtm
6 years, 6 months ago (2014-06-09 17:12:51 UTC) #5
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-10 00:56:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/315413004/20001
6 years, 6 months ago (2014-06-10 00:57:08 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 14:18:39 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 14:42:09 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/161129)
6 years, 6 months ago (2014-06-10 14:42:10 UTC) #10
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-10 15:31:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/315413004/20001
6 years, 6 months ago (2014-06-10 15:33:45 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 16:01:50 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 18:46:10 UTC) #14
Message was sent while issue was closed.
Change committed as 276101

Powered by Google App Engine
This is Rietveld 408576698