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

Issue 297703002: Using GURL in place of std::string for destination_url (Closed)

Created:
6 years, 7 months ago by amogh.bihani
Modified:
6 years, 6 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, avayvod+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Using GURL in place of std::string for destination_url Currently destination_url uses GURL type only for IPC. This patch makes all the layers use GURL. BUG=372877 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273197

Patch Set 1 #

Patch Set 2 : removing un-necessary includes #

Total comments: 5

Patch Set 3 : addressing comments, adding checks #

Total comments: 2

Patch Set 4 : Addressing comments, adding TODO #

Patch Set 5 : Removing nit #

Patch Set 6 : Adding changes in aes_decryptor_unittest #

Patch Set 7 : Including gurl.h in unittest #

Patch Set 8 : Adding url.gyp to media_unittests dependencies #

Patch Set 9 : adding dependencies in media_cdm_adapter.gyp #

Patch Set 10 : removing nit #

Patch Set 11 : #

Total comments: 2

Patch Set 12 : adding dependency in media_cdm instead of media_cdm_adapter #

Patch Set 13 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -45 lines) Patch
M content/browser/media/android/browser_media_player_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/android/browser_media_player_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -6 lines 0 comments Download
M content/renderer/media/android/proxy_media_keys.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/android/proxy_media_keys.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/android/renderer_media_player_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/cdm_session_adapter.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/cdm_session_adapter.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/crypto/proxy_decryptor.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/crypto/proxy_decryptor.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/media/webcontentdecryptionmodulesession_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webcontentdecryptionmodulesession_impl.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.cc View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M media/base/android/media_drm_bridge.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -2 lines 0 comments Download
M media/base/android/media_player_manager.h View 2 chunks +4 lines, -1 line 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/media_keys.h View 2 chunks +2 lines, -3 lines 0 comments Download
M media/cdm/aes_decryptor.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/aes_decryptor_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +12 lines, -6 lines 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.h View 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M media/media_cdm.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
amogh.bihani
PTAL.
6 years, 7 months ago (2014-05-20 13:15:28 UTC) #1
xhwang
Thank you for taking this! Generally looking pretty good. Just a few comments. https://codereview.chromium.org/297703002/diff/10001/content/browser/media/android/browser_media_player_manager.cc File ...
6 years, 7 months ago (2014-05-21 16:59:00 UTC) #2
ddorwin
https://codereview.chromium.org/297703002/diff/10001/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/297703002/diff/10001/content/renderer/pepper/content_decryptor_delegate.cc#newcode613 content/renderer/pepper/content_decryptor_delegate.cc:613: session_id, message, GURL(default_url_string->value())); On 2014/05/21 16:59:01, xhwang wrote: > ...
6 years, 7 months ago (2014-05-21 17:51:56 UTC) #3
amogh.bihani
Thanks for the review :) I have made the changes. https://codereview.chromium.org/297703002/diff/10001/content/browser/media/android/browser_media_player_manager.cc File content/browser/media/android/browser_media_player_manager.cc (right): https://codereview.chromium.org/297703002/diff/10001/content/browser/media/android/browser_media_player_manager.cc#newcode399 ...
6 years, 7 months ago (2014-05-22 11:59:49 UTC) #4
xhwang
lgtm % comments. Thanks for fixing this! https://codereview.chromium.org/297703002/diff/30001/content/browser/media/android/browser_media_player_manager.cc File content/browser/media/android/browser_media_player_manager.cc (right): https://codereview.chromium.org/297703002/diff/30001/content/browser/media/android/browser_media_player_manager.cc#newcode396 content/browser/media/android/browser_media_player_manager.cc:396: if (!verified_gurl.is_valid() ...
6 years, 7 months ago (2014-05-22 18:44:52 UTC) #5
amogh.bihani
+r: avi@ for content/renderer/pepper/. PTAL.
6 years, 7 months ago (2014-05-23 04:12:26 UTC) #6
Avi (use Gerrit)
content/renderer/pepper/ LGTM
6 years, 7 months ago (2014-05-23 04:33:12 UTC) #7
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-23 04:36:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/297703002/70001
6 years, 7 months ago (2014-05-23 04:37:26 UTC) #9
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-23 05:58:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/297703002/90001
6 years, 7 months ago (2014-05-23 06:00:56 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 09:30:34 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 10:12:13 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/27962)
6 years, 7 months ago (2014-05-23 10:12:14 UTC) #14
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-26 12:29:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/297703002/130001
6 years, 7 months ago (2014-05-26 12:30:16 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-26 15:13:27 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 16:10:51 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_compile_dbg/builds/26435)
6 years, 7 months ago (2014-05-26 16:10:52 UTC) #19
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-27 06:51:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/297703002/150001
6 years, 7 months ago (2014-05-27 06:51:36 UTC) #21
amogh.bihani
The CQ bit was unchecked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-27 09:28:21 UTC) #22
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-27 09:58:17 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/297703002/170001
6 years, 7 months ago (2014-05-27 09:58:34 UTC) #24
amogh.bihani
The CQ bit was unchecked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-27 10:09:39 UTC) #25
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-27 10:11:14 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/297703002/190001
6 years, 7 months ago (2014-05-27 10:11:38 UTC) #27
amogh.bihani
The CQ bit was unchecked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-27 11:07:07 UTC) #28
amogh.bihani
I have added url_lib dependency in media_cdm_adapter.gyp for GURL, but still I am getting Linking ...
6 years, 7 months ago (2014-05-27 11:13:16 UTC) #29
xhwang
https://codereview.chromium.org/297703002/diff/190001/media/media_cdm_adapter.gyp File media/media_cdm_adapter.gyp (right): https://codereview.chromium.org/297703002/diff/190001/media/media_cdm_adapter.gyp#newcode22 media/media_cdm_adapter.gyp:22: '../url/url.gyp:url_lib', Can you try to add this dependency on ...
6 years, 7 months ago (2014-05-27 16:33:44 UTC) #30
ddorwin
https://codereview.chromium.org/297703002/diff/190001/media/media_cdm_adapter.gyp File media/media_cdm_adapter.gyp (right): https://codereview.chromium.org/297703002/diff/190001/media/media_cdm_adapter.gyp#newcode22 media/media_cdm_adapter.gyp:22: '../url/url.gyp:url_lib', On 2014/05/27 16:33:45, xhwang wrote: > Can you ...
6 years, 7 months ago (2014-05-27 17:00:13 UTC) #31
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 6 months ago (2014-05-28 06:38:32 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/297703002/230001
6 years, 6 months ago (2014-05-28 06:39:20 UTC) #33
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 13:18:20 UTC) #34
Message was sent while issue was closed.
Change committed as 273197

Powered by Google App Engine
This is Rietveld 408576698