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

Issue 2469863010: Move all ProvisionFetcher classes out of android/ subdirectories. (Closed)

Created:
4 years, 1 month ago by slan
Modified:
4 years, 1 month ago
CC:
chromium-reviews, creis+watch_chromium.org, qsr+mojo_chromium.org, Aaron Boodman, avayvod+watch_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, darin-cc_chromium.org, alokp+watch_chromium.org, darin (slow to review), viettrungluu+watch_chromium.org, mlamouri+watch-media_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move all ProvisionFetcher classes out of android/ subdirectories. The Cast Linux build will use this interface to provision devices from the "media" service. Move these classes into general subdirs and update BUILD.gn files so that these build on Linux. The only non-mechanical change in this CL is that content::CreateProvisionFetcher() now takes a net::URLRequestContextGetter* instead of a RenderFrameHost*. This will allow more flexibility for content embedders like Chromecast to use this class. BUG=660736 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/a0da430a19a674050860c392ca879fc9c82b559f Cr-Commit-Position: refs/heads/master@{#430308}

Patch Set 1 #

Patch Set 2 : Fix chrome/ includes missed in PS1. #

Total comments: 1

Patch Set 3 : Remove EXPORT from pure virtual interface. #

Patch Set 4 : Use NON_EXPORTED_BASE to suppress MSVC C4275 #

Total comments: 2

Patch Set 5 : Add TODO for crbug.com/662752 #

Patch Set 6 : Another NON_EXPORTED_BASE. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -368 lines) Patch
M chrome/browser/media/android/cdm/media_drm_credential_manager.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/android/cdm/media_drm_credential_manager.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/BUILD.gn View 4 chunks +6 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 3 chunks +11 lines, -6 lines 0 comments Download
D content/browser/media/android/provision_fetcher_impl.h View 1 chunk +0 lines, -51 lines 0 comments Download
D content/browser/media/android/provision_fetcher_impl.cc View 1 chunk +0 lines, -56 lines 0 comments Download
D content/browser/media/android/url_provision_fetcher.h View 1 chunk +0 lines, -41 lines 0 comments Download
D content/browser/media/android/url_provision_fetcher.cc View 1 chunk +0 lines, -78 lines 0 comments Download
A + content/browser/media/url_provision_fetcher.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/media/url_provision_fetcher.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/public/browser/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
D content/public/browser/android/provision_fetcher_factory.h View 1 chunk +0 lines, -30 lines 0 comments Download
A + content/public/browser/provision_fetcher_factory.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/public/browser/provision_fetcher_impl.h View 1 2 3 4 5 2 chunks +13 lines, -9 lines 0 comments Download
A + content/public/browser/provision_fetcher_impl.cc View 2 chunks +3 lines, -11 lines 0 comments Download
M media/base/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M media/base/android/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M media/base/android/android_cdm_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M media/base/android/media_drm_bridge.h View 1 chunk +1 line, -1 line 0 comments Download
M media/base/android/media_drm_bridge.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/android/media_drm_bridge_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
D media/base/android/provision_fetcher.h View 1 chunk +0 lines, -42 lines 0 comments Download
A + media/base/provision_fetcher.h View 1 2 3 chunks +7 lines, -8 lines 0 comments Download
M media/mojo/interfaces/BUILD.gn View 2 chunks +1 line, -4 lines 0 comments Download
M media/mojo/interfaces/provision_fetcher.mojom View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M media/mojo/services/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_provision_fetcher.h View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 38 (23 generated)
slan
Xiaohan, this is the subset of ccrev.com/2472203002 that moves the Android files as needed. Regardless ...
4 years, 1 month ago (2016-11-04 18:47:42 UTC) #9
xhwang
LGTM https://codereview.chromium.org/2469863010/diff/20001/content/browser/media/url_provision_fetcher.h File content/browser/media/url_provision_fetcher.h (right): https://codereview.chromium.org/2469863010/diff/20001/content/browser/media/url_provision_fetcher.h#newcode41 content/browser/media/url_provision_fetcher.h:41: #endif // CONTENT_BROWSER_MEDIA_URL_PROVISION_FETCHER_H_ thanks for catching this
4 years, 1 month ago (2016-11-05 02:58:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2469863010/40001
4 years, 1 month ago (2016-11-06 05:17:09 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/298124)
4 years, 1 month ago (2016-11-06 05:23:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2469863010/60001
4 years, 1 month ago (2016-11-06 17:19:46 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/298146)
4 years, 1 month ago (2016-11-06 17:28:17 UTC) #22
slan
+clamy@ for content/browser/, content/public/browser/ +avi@ for the same (since clamy@ is marked slow) +dcheng@ for ...
4 years, 1 month ago (2016-11-06 17:43:31 UTC) #24
Avi (use Gerrit)
lgtm
4 years, 1 month ago (2016-11-06 18:02:44 UTC) #25
dcheng
LGTM with nit addressed and a bug filed for the todo https://codereview.chromium.org/2469863010/diff/60001/media/mojo/interfaces/provision_fetcher.mojom File media/mojo/interfaces/provision_fetcher.mojom (right): ...
4 years, 1 month ago (2016-11-06 19:35:24 UTC) #26
slan
The tryjob failures appear unrelated at first glance. https://codereview.chromium.org/2469863010/diff/60001/media/mojo/interfaces/provision_fetcher.mojom File media/mojo/interfaces/provision_fetcher.mojom (right): https://codereview.chromium.org/2469863010/diff/60001/media/mojo/interfaces/provision_fetcher.mojom#newcode16 media/mojo/interfaces/provision_fetcher.mojom:16: Retrieve(string ...
4 years, 1 month ago (2016-11-06 22:08:41 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2469863010/80001
4 years, 1 month ago (2016-11-06 22:08:56 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/291104)
4 years, 1 month ago (2016-11-06 23:35:30 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2469863010/100001
4 years, 1 month ago (2016-11-07 15:43:36 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-07 17:37:35 UTC) #36
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 17:44:10 UTC) #38
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a0da430a19a674050860c392ca879fc9c82b559f
Cr-Commit-Position: refs/heads/master@{#430308}

Powered by Google App Engine
This is Rietveld 408576698