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

Issue 696563002: Cache ShellImpl by resolved URL, not initial URL (Closed)

Created:
6 years, 1 month ago by Aaron Boodman
Modified:
6 years, 1 month ago
Reviewers:
DaveMoore, qsr
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Cache ShellImpl by resolved URL, not initial URL This prevents us from loading applications twice when URLs are mapped. BUG=427974 R=davemoore@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/8c71ea8f07989d102ea575f4d75947392900c414 Committed: https://chromium.googlesource.com/external/mojo/+/cd7b911cdf4ff5ada2d0fdc0c026a508d3cdfe5d

Patch Set 1 : cleanup #

Total comments: 5

Patch Set 2 : review #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -87 lines) Patch
M mojo/application_manager/application_manager.h View 1 2 5 chunks +22 lines, -15 lines 0 comments Download
M mojo/application_manager/application_manager.cc View 1 2 12 chunks +85 lines, -46 lines 0 comments Download
M mojo/application_manager/application_manager_unittest.cc View 7 chunks +48 lines, -7 lines 0 comments Download
M mojo/shell/context.h View 2 chunks +4 lines, -3 lines 0 comments Download
M mojo/shell/context.cc View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
M mojo/shell/dynamic_application_loader.cc View 1 2 2 chunks +3 lines, -10 lines 0 comments Download
M mojo/shell/external_application_listener_unittest.cc View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
Aaron Boodman
https://codereview.chromium.org/696563002/diff/60001/mojo/application_manager/application_manager.h File mojo/application_manager/application_manager.h (left): https://codereview.chromium.org/696563002/diff/60001/mojo/application_manager/application_manager.h#oldcode61 mojo/application_manager/application_manager.h:61: // Returns a shared instance, creating it if necessary. ...
6 years, 1 month ago (2014-10-31 05:26:17 UTC) #5
qsr
https://codereview.chromium.org/696563002/diff/60001/mojo/shell/context.cc File mojo/shell/context.cc (right): https://codereview.chromium.org/696563002/diff/60001/mojo/shell/context.cc#newcode162 mojo/shell/context.cc:162: Context::Context() : application_manager_(NULL) { s/NULL/this/ ?
6 years, 1 month ago (2014-10-31 12:22:16 UTC) #7
DaveMoore
https://codereview.chromium.org/696563002/diff/60001/mojo/application_manager/application_manager.cc File mojo/application_manager/application_manager.cc (right): https://codereview.chromium.org/696563002/diff/60001/mojo/application_manager/application_manager.cc#newcode101 mojo/application_manager/application_manager.cc:101: ShellImpl(ApplicationManager* manager, const GURL& requested_url, Nit: could you put ...
6 years, 1 month ago (2014-10-31 16:15:58 UTC) #8
Aaron Boodman
done I also rebased, sorry https://codereview.chromium.org/696563002/diff/60001/mojo/application_manager/application_manager.cc File mojo/application_manager/application_manager.cc (right): https://codereview.chromium.org/696563002/diff/60001/mojo/application_manager/application_manager.cc#newcode101 mojo/application_manager/application_manager.cc:101: ShellImpl(ApplicationManager* manager, const GURL& ...
6 years, 1 month ago (2014-10-31 18:14:02 UTC) #9
Aaron Boodman
Also, please excuse the red bot noise. I forgot we don't have bots.
6 years, 1 month ago (2014-10-31 18:30:17 UTC) #10
DaveMoore
lgtm
6 years, 1 month ago (2014-10-31 18:37:39 UTC) #11
Aaron Boodman
Committed patchset #2 (id:80001) manually as 8c71ea8f07989d102ea575f4d75947392900c414 (presubmit successful).
6 years, 1 month ago (2014-10-31 18:47:47 UTC) #12
Aaron Boodman
6 years, 1 month ago (2014-11-07 05:44:58 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:100001) manually as
cd7b911cdf4ff5ada2d0fdc0c026a508d3cdfe5d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698