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

Issue 1358533004: Move more of ContentHandler handling into PackageManager. (Closed)

Created:
5 years, 3 months ago by Ben Goodger (Google)
Modified:
5 years, 2 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move more of ContentHandler handling into PackageManager. Dependency/#include rules required that I restructure the unit tests as part of this, moving all the content handler tests into package_manager also. R=yzshen@chromium.org http://crbug.com/533085 Committed: https://crrev.com/885517fdbc3a284501d457c9f0256ea731f54e07 Cr-Commit-Position: refs/heads/master@{#350572}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Total comments: 9

Patch Set 10 : . #

Patch Set 11 : . #

Patch Set 12 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1252 lines, -1167 lines) Patch
M content/browser/mojo/mojo_shell_context.cc View 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M mojo/fetcher/about_fetcher_unittest.cc View 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/mojo_shell.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/package_manager/BUILD.gn View 1 2 3 4 5 6 2 chunks +24 lines, -0 lines 0 comments Download
A mojo/package_manager/capability_filter_content_handler_unittest.cc View 1 2 3 4 5 6 7 1 chunk +158 lines, -0 lines 0 comments Download
A + mojo/package_manager/content_handler_connection.h View 1 3 4 3 chunks +17 lines, -13 lines 0 comments Download
A + mojo/package_manager/content_handler_connection.cc View 1 3 4 4 chunks +12 lines, -10 lines 0 comments Download
A mojo/package_manager/content_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +318 lines, -0 lines 0 comments Download
M mojo/package_manager/package_manager_impl.h View 1 2 3 4 5 6 7 8 9 4 chunks +40 lines, -7 lines 0 comments Download
M mojo/package_manager/package_manager_impl.cc View 1 2 3 4 5 6 7 8 9 4 chunks +100 lines, -37 lines 0 comments Download
M mojo/runner/context.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -6 lines 0 comments Download
M mojo/runner/native_runner_unittest.cc View 1 3 4 3 chunks +10 lines, -15 lines 0 comments Download
M mojo/shell/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +19 lines, -4 lines 0 comments Download
M mojo/shell/application_instance.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M mojo/shell/application_manager.h View 1 2 3 4 5 6 7 8 9 5 chunks +15 lines, -26 lines 0 comments Download
M mojo/shell/application_manager.cc View 1 2 3 4 5 6 7 8 9 5 chunks +35 lines, -71 lines 0 comments Download
M mojo/shell/application_manager_unittest.cc View 1 2 3 4 5 6 10 chunks +7 lines, -276 lines 0 comments Download
A mojo/shell/capability_filter_test.h View 1 2 3 4 5 6 1 chunk +108 lines, -0 lines 0 comments Download
A mojo/shell/capability_filter_test.cc View 1 2 3 4 5 6 1 chunk +332 lines, -0 lines 0 comments Download
M mojo/shell/capability_filter_unittest.cc View 1 2 3 4 5 6 1 chunk +13 lines, -521 lines 0 comments Download
D mojo/shell/content_handler_connection.h View 3 4 1 chunk +0 lines, -57 lines 0 comments Download
D mojo/shell/content_handler_connection.cc View 3 4 1 chunk +0 lines, -55 lines 0 comments Download
M mojo/shell/package_manager.h View 1 2 3 4 5 6 7 8 9 3 chunks +17 lines, -14 lines 0 comments Download
M mojo/shell/test_package_manager.h View 1 2 3 4 5 6 1 chunk +8 lines, -20 lines 0 comments Download
M mojo/shell/test_package_manager.cc View 1 2 3 4 5 6 1 chunk +9 lines, -30 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
adamandashley13
lgtm
5 years, 3 months ago (2015-09-19 15:23:05 UTC) #3
adamandashley13
lgtm
5 years, 3 months ago (2015-09-19 15:23:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1358533004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1358533004/1
5 years, 3 months ago (2015-09-19 15:23:07 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/113604)
5 years, 3 months ago (2015-09-19 15:29:39 UTC) #7
Ben Goodger (Google)
On 2015/09/19 15:23:06, adamandashley13 wrote: > lgtm 1. This change is a work in progress ...
5 years, 3 months ago (2015-09-19 16:54:22 UTC) #8
Ben Goodger (Google)
OK I think this is ready for review.
5 years, 3 months ago (2015-09-23 15:25:03 UTC) #11
yzshen1
https://codereview.chromium.org/1358533004/diff/160001/content/browser/mojo/mojo_shell_context.cc File content/browser/mojo/mojo_shell_context.cc (right): https://codereview.chromium.org/1358533004/diff/160001/content/browser/mojo/mojo_shell_context.cc#newcode163 content/browser/mojo/mojo_shell_context.cc:163: new mojo::package_manager::PackageManagerImpl(base::FilePath(), nullptr)); Passing null could crash in some ...
5 years, 3 months ago (2015-09-23 16:53:46 UTC) #12
Ben Goodger (Google)
Thanks for the great comments. Updated. https://codereview.chromium.org/1358533004/diff/160001/content/browser/mojo/mojo_shell_context.cc File content/browser/mojo/mojo_shell_context.cc (right): https://codereview.chromium.org/1358533004/diff/160001/content/browser/mojo/mojo_shell_context.cc#newcode163 content/browser/mojo/mojo_shell_context.cc:163: new mojo::package_manager::PackageManagerImpl(base::FilePath(), nullptr)); ...
5 years, 3 months ago (2015-09-23 18:24:20 UTC) #13
Ben Goodger (Google)
On 2015/09/23 18:24:20, Ben Goodger (Google) wrote: > Thanks for the great comments. Updated. > ...
5 years, 3 months ago (2015-09-23 18:25:43 UTC) #14
yzshen1
On 2015/09/23 18:25:43, Ben Goodger (Google) wrote: > On 2015/09/23 18:24:20, Ben Goodger (Google) wrote: ...
5 years, 3 months ago (2015-09-23 20:50:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1358533004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1358533004/180001
5 years, 3 months ago (2015-09-23 20:56:08 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/107867)
5 years, 3 months ago (2015-09-23 21:25:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1358533004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1358533004/180001
5 years, 3 months ago (2015-09-23 22:06:25 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/136139)
5 years, 3 months ago (2015-09-23 22:51:21 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1358533004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1358533004/180001
5 years, 3 months ago (2015-09-24 03:57:36 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/136318)
5 years, 3 months ago (2015-09-24 04:29:02 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1358533004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1358533004/220001
5 years, 3 months ago (2015-09-24 15:11:45 UTC) #31
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 2 months ago (2015-09-24 16:39:25 UTC) #32
commit-bot: I haz the power
5 years, 2 months ago (2015-09-24 16:40:34 UTC) #33
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/885517fdbc3a284501d457c9f0256ea731f54e07
Cr-Commit-Position: refs/heads/master@{#350572}

Powered by Google App Engine
This is Rietveld 408576698