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

Issue 1311353005: Adds a way to determine id of content handler that created app (Closed)

Created:
5 years, 3 months ago by sky
Modified:
5 years, 3 months ago
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, penghuang+watch-mandoline_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, 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

Adds a way to determine id of content handler that created app This is needed for html viewer so that it can know which html_viewer is servicing the request. BUG=479172, 490221 TEST=covered by tests R=ben@chromium.org Committed: https://crrev.com/6e094e866fc853c369d2cf27fc947bd0708c6840 Cr-Commit-Position: refs/heads/master@{#346541}

Patch Set 1 #

Patch Set 2 : merge #

Patch Set 3 : content handler id #

Patch Set 4 : tweaks #

Total comments: 17

Patch Set 5 : fix non-mojo build #

Patch Set 6 : format #

Patch Set 7 : add include #

Patch Set 8 : separate out declaration/definition #

Total comments: 6

Patch Set 9 : feedback #

Patch Set 10 : nuke comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+502 lines, -144 lines) Patch
M components/font_service/public/cpp/font_loader.cc View 1 2 3 4 5 6 1 chunk +7 lines, -4 lines 0 comments Download
M components/html_viewer/media_factory.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M components/pdf_viewer/pdf_viewer.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M components/resource_provider/public/cpp/resource_loader.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M content/browser/frame_host/frame_mojo_shell.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/frame_mojo_shell.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/mojo/mojo_app_connection_impl.cc View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M content/browser/mojo/mojo_shell_context.h View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/mojo/mojo_shell_context.cc View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -8 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M mandoline/ui/aura/surface_binding.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/application/public/cpp/application_connection.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M mojo/application/public/cpp/lib/application_impl.cc View 1 1 chunk +6 lines, -3 lines 0 comments Download
M mojo/application/public/cpp/lib/service_registry.h View 1 2 3 4 chunks +13 lines, -1 line 0 comments Download
M mojo/application/public/cpp/lib/service_registry.cc View 1 2 3 5 chunks +35 lines, -0 lines 0 comments Download
M mojo/application/public/interfaces/shell.mojom View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -1 line 0 comments Download
M mojo/runner/about_fetcher_unittest.cc View 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M mojo/runner/context.cc View 3 4 5 6 7 8 3 chunks +9 lines, -6 lines 0 comments Download
M mojo/runner/native_runner_unittest.cc View 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M mojo/runner/shell_test_base.cc View 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/application_instance.h View 1 2 3 4 5 6 7 8 5 chunks +20 lines, -5 lines 0 comments Download
M mojo/shell/application_instance.cc View 1 2 3 4 5 6 7 8 7 chunks +23 lines, -17 lines 0 comments Download
M mojo/shell/application_manager.h View 1 2 3 4 5 6 7 8 7 chunks +50 lines, -33 lines 0 comments Download
M mojo/shell/application_manager.cc View 1 2 3 4 5 6 7 8 9 21 chunks +57 lines, -30 lines 0 comments Download
M mojo/shell/application_manager_unittest.cc View 1 2 3 4 5 6 7 8 12 chunks +198 lines, -11 lines 0 comments Download
M mojo/shell/capability_filter_unittest.cc View 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/content_handler_connection.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -1 line 0 comments Download
M mojo/shell/content_handler_connection.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
sky
5 years, 3 months ago (2015-08-28 02:01:50 UTC) #1
sky
Updated as discussed (and updated description).
5 years, 3 months ago (2015-08-29 17:40:47 UTC) #2
Ben Goodger (Google)
https://codereview.chromium.org/1311353005/diff/60001/components/html_viewer/media_factory.cc File components/html_viewer/media_factory.cc (right): https://codereview.chromium.org/1311353005/diff/60001/components/html_viewer/media_factory.cc#newcode126 components/html_viewer/media_factory.cc:126: base::Bind(&OnGotContentHandlerID)); mojo::Shell::ConnectToApplicationCallback()? https://codereview.chromium.org/1311353005/diff/60001/components/pdf_viewer/pdf_viewer.cc File components/pdf_viewer/pdf_viewer.cc (right): https://codereview.chromium.org/1311353005/diff/60001/components/pdf_viewer/pdf_viewer.cc#newcode84 components/pdf_viewer/pdf_viewer.cc:84: nullptr, ...
5 years, 3 months ago (2015-08-31 17:41:07 UTC) #3
sky
https://codereview.chromium.org/1311353005/diff/60001/components/html_viewer/media_factory.cc File components/html_viewer/media_factory.cc (right): https://codereview.chromium.org/1311353005/diff/60001/components/html_viewer/media_factory.cc#newcode126 components/html_viewer/media_factory.cc:126: base::Bind(&OnGotContentHandlerID)); On 2015/08/31 17:41:07, Ben Goodger (Google) wrote: > ...
5 years, 3 months ago (2015-08-31 19:46:07 UTC) #4
Ben Goodger (Google)
lgtm https://codereview.chromium.org/1311353005/diff/60001/components/html_viewer/media_factory.cc File components/html_viewer/media_factory.cc (right): https://codereview.chromium.org/1311353005/diff/60001/components/html_viewer/media_factory.cc#newcode126 components/html_viewer/media_factory.cc:126: base::Bind(&OnGotContentHandlerID)); On 2015/08/31 19:46:06, sky wrote: > On ...
5 years, 3 months ago (2015-08-31 23:10:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311353005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311353005/180001
5 years, 3 months ago (2015-08-31 23:14:25 UTC) #8
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 3 months ago (2015-09-01 00:58:58 UTC) #9
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 00:59:37 UTC) #10
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6e094e866fc853c369d2cf27fc947bd0708c6840
Cr-Commit-Position: refs/heads/master@{#346541}

Powered by Google App Engine
This is Rietveld 408576698