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

Issue 229733002: Toro: Move ExtensionProtocolHandler to //extensions (Closed)

Created:
6 years, 8 months ago by James Cook
Modified:
6 years, 8 months ago
Reviewers:
Yoyo Zhou
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Toro: Move ExtensionProtocolHandler to //extensions This breaks Chrome dependencies in ExtensionProtocolHandler and moves //chrome/browser/extensions/extension_protocol.cc into //extensions/browser so it can be used in app_shell. * Extract URLRequestResourceBundleJob to Chrome as it is used only to load component extension resources from Chrome's PAK files. * Replace Profile::ProfileType usage with is_incognito to break the Profile dependency. * Delegate out the decision to allow cross-renderer extension resource loads because this is primarily used for Chrome-specific extension features * Eliminate chrome-extension-resource:// handling in app_shell (it allows sharing common extension data in the <chrome-install>/resources/extension/ directory, which app_shell doesn't need). BUG=361373 TEST=browser_tests *Extension* and PlatformApp*, unit_tests ExtensionProtocol*, app_shell loads calculator TBR=sky@chromium.org for mechanical header file move/refactor across chrome/browser Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263198

Patch Set 1 #

Patch Set 2 : before move (extension-protocols) #

Patch Set 3 : move file, cleanup (extension-protocols) #

Total comments: 8

Patch Set 4 : deps -chrome #

Patch Set 5 : rebase (extension-protocols) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+550 lines, -1273 lines) Patch
M apps/shell/DEPS View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M apps/shell/browser/shell_content_browser_client.cc View 1 2 3 chunks +6 lines, -8 lines 0 comments Download
M apps/shell/browser/shell_extensions_browser_client.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M apps/shell/browser/shell_extensions_browser_client.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.cc View 1 2 3 4 2 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_protocols.h View 1 2 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/browser/extensions/extension_protocols.cc View 1 2 1 chunk +0 lines, -645 lines 0 comments Download
M chrome/browser/extensions/extension_protocols_unittest.cc View 1 2 1 chunk +0 lines, -339 lines 0 comments Download
A chrome/browser/extensions/url_request_util.h View 1 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/extensions/url_request_util.cc View 1 2 1 chunk +243 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 3 chunks +1 line, -2 lines 0 comments Download
A + extensions/browser/extension_protocols.h View 1 2 1 chunk +27 lines, -7 lines 0 comments Download
A + extensions/browser/extension_protocols.cc View 1 2 15 chunks +76 lines, -233 lines 0 comments Download
A + extensions/browser/extension_protocols_unittest.cc View 1 2 7 chunks +11 lines, -10 lines 0 comments Download
M extensions/browser/extensions_browser_client.h View 1 4 chunks +28 lines, -0 lines 0 comments Download
M extensions/browser/test_extensions_browser_client.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M extensions/browser/test_extensions_browser_client.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
James Cook
yoz, PTAL https://codereview.chromium.org/229733002/diff/120001/apps/shell/DEPS File apps/shell/DEPS (right): https://codereview.chromium.org/229733002/diff/120001/apps/shell/DEPS#newcode13 apps/shell/DEPS:13: "!chrome/browser/chrome_notification_types.h", I did not add any includes ...
6 years, 8 months ago (2014-04-09 22:54:41 UTC) #1
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/229733002/diff/120001/apps/shell/DEPS File apps/shell/DEPS (right): https://chromiumcodereview.appspot.com/229733002/diff/120001/apps/shell/DEPS#newcode13 apps/shell/DEPS:13: "!chrome/browser/chrome_notification_types.h", On 2014/04/09 22:54:41, James Cook wrote: > ...
6 years, 8 months ago (2014-04-10 21:10:49 UTC) #2
James Cook
https://chromiumcodereview.appspot.com/229733002/diff/120001/apps/shell/DEPS File apps/shell/DEPS (right): https://chromiumcodereview.appspot.com/229733002/diff/120001/apps/shell/DEPS#newcode13 apps/shell/DEPS:13: "!chrome/browser/chrome_notification_types.h", On 2014/04/10 21:10:49, Yoyo Zhou wrote: > On ...
6 years, 8 months ago (2014-04-10 21:32:04 UTC) #3
James Cook
The CQ bit was checked by jamescook@chromium.org
6 years, 8 months ago (2014-04-10 21:55:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/229733002/160001
6 years, 8 months ago (2014-04-10 21:56:14 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-11 02:18:58 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=295961
6 years, 8 months ago (2014-04-11 02:18:59 UTC) #7
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 8 months ago (2014-04-11 05:53:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/229733002/160001
6 years, 8 months ago (2014-04-11 05:54:18 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-11 08:29:15 UTC) #10
Message was sent while issue was closed.
Change committed as 263198

Powered by Google App Engine
This is Rietveld 408576698