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

Issue 1342503003: Move fetching logic out of ApplicationManager, eliminate url mappings. (Closed)

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

Description

Move fetching logic out of ApplicationManager, eliminate url mappings. BUG= Committed: https://crrev.com/7134773ceeef31531b84818158902e6d7c74f110 Cr-Commit-Position: refs/heads/master@{#348659} Committed: https://crrev.com/c7ef4d2131963307ea537fc269bb5acee9383de2 Cr-Commit-Position: refs/heads/master@{#348954} Committed: https://crrev.com/f4e3b26f16471576ed034e74d863ec6e347b0417 Cr-Commit-Position: refs/heads/master@{#349035}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 9

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Patch Set 12 : . #

Total comments: 2

Patch Set 13 : . #

Patch Set 14 : . #

Patch Set 15 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+620 lines, -1976 lines) Patch
M components/web_view/test_runner/launcher.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/mojo/mojo_shell_context.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -10 lines 0 comments Download
M content/browser/mojo/mojo_shell_context.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +10 lines, -16 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M mandoline/app/desktop/launcher_process.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
A mojo/fetcher/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +44 lines, -0 lines 0 comments Download
A mojo/fetcher/DEPS View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A + mojo/fetcher/about_fetcher.h View 3 chunks +5 lines, -5 lines 0 comments Download
A + mojo/fetcher/about_fetcher.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A + mojo/fetcher/about_fetcher_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +11 lines, -30 lines 0 comments Download
A mojo/fetcher/base_application_fetcher.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +41 lines, -0 lines 0 comments Download
A mojo/fetcher/base_application_fetcher.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +99 lines, -0 lines 0 comments Download
A + mojo/fetcher/local_fetcher.h View 3 chunks +6 lines, -7 lines 0 comments Download
A + mojo/fetcher/local_fetcher.cc View 3 chunks +3 lines, -4 lines 0 comments Download
A + mojo/fetcher/network_fetcher.h View 3 chunks +6 lines, -6 lines 0 comments Download
A + mojo/fetcher/network_fetcher.cc View 4 chunks +7 lines, -7 lines 0 comments Download
A + mojo/fetcher/switches.h View 1 chunk +6 lines, -6 lines 0 comments Download
A + mojo/fetcher/switches.cc View 1 chunk +4 lines, -3 lines 0 comments Download
A + mojo/fetcher/update_fetcher.h View 3 chunks +6 lines, -6 lines 0 comments Download
A + mojo/fetcher/update_fetcher.cc View 3 chunks +3 lines, -4 lines 0 comments Download
A mojo/fetcher/url_resolver.h View 1 chunk +38 lines, -0 lines 0 comments Download
A mojo/fetcher/url_resolver.cc View 1 chunk +41 lines, -0 lines 0 comments Download
A mojo/fetcher/url_resolver_unittest.cc View 1 chunk +35 lines, -0 lines 0 comments Download
M mojo/mojo_shell.gyp View 1 2 3 4 5 6 7 2 chunks +31 lines, -7 lines 0 comments Download
M mojo/runner/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +4 lines, -6 lines 0 comments Download
D mojo/runner/about_fetcher.h View 1 chunk +0 lines, -58 lines 0 comments Download
D mojo/runner/about_fetcher.cc View 1 chunk +0 lines, -111 lines 0 comments Download
D mojo/runner/about_fetcher_unittest.cc View 1 chunk +0 lines, -187 lines 0 comments Download
M mojo/runner/android/main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/runner/child_process_host_unittest.cc View 2 chunks +4 lines, -1 line 0 comments Download
M mojo/runner/context.h View 1 2 3 4 5 6 7 8 5 chunks +6 lines, -35 lines 0 comments Download
M mojo/runner/context.cc View 1 2 9 chunks +18 lines, -122 lines 0 comments Download
M mojo/runner/desktop/launcher_process.cc View 2 chunks +4 lines, -1 line 0 comments Download
M mojo/runner/in_process_native_runner_unittest.cc View 2 chunks +4 lines, -1 line 0 comments Download
M mojo/runner/native_runner_unittest.cc View 1 2 3 chunks +21 lines, -28 lines 0 comments Download
M mojo/runner/shell_test_base.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M mojo/runner/shell_test_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -12 lines 0 comments Download
M mojo/runner/shell_test_base_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -4 lines 0 comments Download
M mojo/runner/switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/runner/switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download
D mojo/runner/url_resolver.h View 1 chunk +0 lines, -81 lines 0 comments Download
D mojo/runner/url_resolver.cc View 1 chunk +0 lines, -117 lines 0 comments Download
D mojo/runner/url_resolver_unittest.cc View 1 chunk +0 lines, -160 lines 0 comments Download
M mojo/shell/BUILD.gn View 2 chunks +1 line, -6 lines 0 comments Download
M mojo/shell/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
A mojo/shell/application_fetcher.h View 1 2 3 4 5 6 7 8 1 chunk +43 lines, -0 lines 0 comments Download
M mojo/shell/application_manager.h View 9 chunks +6 lines, -33 lines 0 comments Download
M mojo/shell/application_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 12 chunks +21 lines, -87 lines 0 comments Download
M mojo/shell/application_manager_unittest.cc View 12 chunks +34 lines, -102 lines 0 comments Download
M mojo/shell/capability_filter_unittest.cc View 5 chunks +21 lines, -21 lines 0 comments Download
D mojo/shell/local_fetcher.h View 1 chunk +0 lines, -59 lines 0 comments Download
D mojo/shell/local_fetcher.cc View 1 chunk +0 lines, -117 lines 0 comments Download
D mojo/shell/network_fetcher.h View 1 chunk +0 lines, -85 lines 0 comments Download
D mojo/shell/network_fetcher.cc View 1 chunk +0 lines, -258 lines 0 comments Download
D mojo/shell/update_fetcher.h View 1 chunk +0 lines, -55 lines 0 comments Download
D mojo/shell/update_fetcher.cc View 1 chunk +0 lines, -101 lines 0 comments Download

Messages

Total messages: 38 (12 generated)
Ben Goodger (Google)
5 years, 3 months ago (2015-09-11 22:41:19 UTC) #2
sky
LGTM https://codereview.chromium.org/1342503003/diff/60001/mojo/fetcher/base_application_fetcher.cc File mojo/fetcher/base_application_fetcher.cc (right): https://codereview.chromium.org/1342503003/diff/60001/mojo/fetcher/base_application_fetcher.cc#newcode59 mojo/fetcher/base_application_fetcher.cc:59: new LocalFetcher( It's worth a comment as to ...
5 years, 3 months ago (2015-09-11 23:05:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342503003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342503003/220001
5 years, 3 months ago (2015-09-13 17:32:54 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/69214)
5 years, 3 months ago (2015-09-13 23:34:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342503003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342503003/220001
5 years, 3 months ago (2015-09-13 23:49:37 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/62216)
5 years, 3 months ago (2015-09-14 05:26:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342503003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342503003/220001
5 years, 3 months ago (2015-09-14 17:43:37 UTC) #14
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 3 months ago (2015-09-14 18:14:53 UTC) #15
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/7134773ceeef31531b84818158902e6d7c74f110 Cr-Commit-Position: refs/heads/master@{#348659}
5 years, 3 months ago (2015-09-14 18:15:51 UTC) #16
Devlin
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/1343823002/ by rdevlin.cronin@chromium.org. ...
5 years, 3 months ago (2015-09-14 18:54:32 UTC) #17
yzshen1
https://codereview.chromium.org/1342503003/diff/220001/mojo/shell/application_manager.cc File mojo/shell/application_manager.cc (right): https://codereview.chromium.org/1342503003/diff/220001/mojo/shell/application_manager.cc#newcode106 mojo/shell/application_manager.cc:106: GURL resolved_url = fetcher_->ResolveURL(original_url); One thing that seems like ...
5 years, 3 months ago (2015-09-14 19:06:15 UTC) #19
Ben Goodger (Google)
https://codereview.chromium.org/1342503003/diff/220001/mojo/shell/application_manager.cc File mojo/shell/application_manager.cc (right): https://codereview.chromium.org/1342503003/diff/220001/mojo/shell/application_manager.cc#newcode106 mojo/shell/application_manager.cc:106: GURL resolved_url = fetcher_->ResolveURL(original_url); Good catch! WDYT about uniquifying ...
5 years, 3 months ago (2015-09-14 23:27:16 UTC) #20
yzshen1
On 2015/09/14 23:27:16, Ben Goodger (Google) wrote: > https://codereview.chromium.org/1342503003/diff/220001/mojo/shell/application_manager.cc > File mojo/shell/application_manager.cc (right): > > ...
5 years, 3 months ago (2015-09-14 23:35:36 UTC) #21
sky
On Mon, Sep 14, 2015 at 4:35 PM, <yzshen@chromium.org> wrote: > On 2015/09/14 23:27:16, Ben ...
5 years, 3 months ago (2015-09-14 23:37:06 UTC) #22
yzshen1
On 2015/09/14 23:37:06, sky wrote: > On Mon, Sep 14, 2015 at 4:35 PM, <mailto:yzshen@chromium.org> ...
5 years, 3 months ago (2015-09-14 23:40:33 UTC) #23
sky
I spoke with Yuzhu and he set me straight. I was confused by pre-resolved and ...
5 years, 3 months ago (2015-09-15 00:00:14 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342503003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342503003/260001
5 years, 3 months ago (2015-09-15 17:53:18 UTC) #27
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 3 months ago (2015-09-15 19:20:57 UTC) #28
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/c7ef4d2131963307ea537fc269bb5acee9383de2 Cr-Commit-Position: refs/heads/master@{#348954}
5 years, 3 months ago (2015-09-15 19:21:37 UTC) #29
Devlin
A revert of this CL (patchset #14 id:260001) has been created in https://codereview.chromium.org/1338283003/ by rdevlin.cronin@chromium.org. ...
5 years, 3 months ago (2015-09-15 20:28:29 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342503003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342503003/280001
5 years, 3 months ago (2015-09-15 22:35:06 UTC) #33
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 3 months ago (2015-09-16 00:10:23 UTC) #34
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/f4e3b26f16471576ed034e74d863ec6e347b0417 Cr-Commit-Position: refs/heads/master@{#349035}
5 years, 3 months ago (2015-09-16 00:11:31 UTC) #35
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/7134773ceeef31531b84818158902e6d7c74f110 Cr-Commit-Position: refs/heads/master@{#348659}
5 years, 3 months ago (2015-09-23 12:34:30 UTC) #36
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/c7ef4d2131963307ea537fc269bb5acee9383de2 Cr-Commit-Position: refs/heads/master@{#348954}
5 years, 3 months ago (2015-09-23 12:47:59 UTC) #37
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:51:18 UTC) #38
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/f4e3b26f16471576ed034e74d863ec6e347b0417
Cr-Commit-Position: refs/heads/master@{#349035}

Powered by Google App Engine
This is Rietveld 408576698