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

Issue 273193004: Move some content url constants to /url. (Closed)

Created:
6 years, 7 months ago by Sungmann Cho
Modified:
6 years, 6 months ago
CC:
chromium-reviews, asanka, skanuj+watch_chromium.org, tzik, dhollowa+watch_chromium.org, dougw+watch_chromium.org, nasko+codewatch_chromium.org, browser-components-watch_chromium.org, dcheng, rginda+watch_chromium.org, markusheintz_, kinuko+watch, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, melevin+watch_chromium.org, benjhayden+dwatch_chromium.org, jam, dominich, darin-cc_chromium.org, jochen+watch_chromium.org, chromium-apps-reviews_chromium.org, creis+watch_chromium.org, yoshiki+watch_chromium.org, nhiroki, jfweitz+watch_chromium.org, Jered, chrome-apps-syd-reviews_chromium.org, tfarina, donnd+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, James Su, darin (slow to review), sky, sdefresne, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move some content url constants to /url. This CL moves the content url constants below to /url: content::kBlobScheme content::kDataScheme content::kFileScheme content::kFileSystemScheme content::kFtpScheme content::kJavaScriptScheme content::kMailToScheme This is a follow up to https://codereview.chromium.org/254763005. BUG=306258 TBR=finnur@chromium.org,mkosiba@chromium.org,derat@chromium.org TEST=compile Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273359

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase and address blundell's comment. #

Patch Set 3 : Remove unnecessary url:: prefix. #

Total comments: 2

Patch Set 4 : Address nits in url/url_util.cc. #

Patch Set 5 : Add missing files. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -242 lines) Patch
M android_webview/browser/aw_content_browser_client.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/native/android_protocol_handler.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M android_webview/native/cookie_manager.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/renderer/aw_render_view_ext.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M apps/shell/browser/shell_content_browser_client.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_input.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browsing_data/browsing_data_helper_unittest.cc View 1 5 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/browsing_data/cookies_tree_model.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_helpers.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_permissions.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_guest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/history_backend.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/history_service.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/in_memory_url_index.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/history/url_database.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/io_thread.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/offline_resource_throttle.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/database_manager.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_parser.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/translate/translate_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/translate/translate_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/common/webservice_search_provider.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/drag_util.mm View 1 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/origin_chip_info.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/web_applications/web_app.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/content_settings_pattern.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/common/content_settings_pattern_parser.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/manifest_handlers/content_scripts_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/net/url_fixer_upper.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/common/net/url_util.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/content_settings_observer.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/extensions/chrome_extension_helper.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/translate/translate_helper.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/utility/importer/bookmark_html_reader.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/utility/importer/ie_importer_win.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/android/load_url_params.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_url_handler_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/child_process_security_policy_impl.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M content/browser/child_process_security_policy_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M content/browser/download/save_package.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/fileapi/browser_file_system_helper.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/debug_urls.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 4 chunks +3 lines, -3 lines 0 comments Download
M content/browser/loader/stream_resource_handler.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/media/android/media_resource_getter_impl.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/storage_partition_impl_map.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_drag_source_mac.mm View 1 3 chunks +2 lines, -2 lines 0 comments Download
M content/common/savable_url_schemes.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/plugin/webplugin_proxy.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/common/url_constants.h View 1 1 chunk +0 lines, -7 lines 0 comments Download
M content/public/common/url_constants.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download
M content/renderer/image_loading_helper.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/web_ui_extension.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/shell/browser/shell_url_request_context_getter.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/extension_web_contents_observer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/permissions/permission_message_util.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/permissions/permissions_data.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/url_pattern.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M extensions/common/url_pattern_set.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M url/url_canon_filesystemurl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M url/url_constants.h View 1 chunk +7 lines, -0 lines 0 comments Download
M url/url_constants.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M url/url_util.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M url/url_util.cc View 1 2 3 5 chunks +6 lines, -10 lines 0 comments Download
M url/url_util_internal.h View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Sungmann Cho
Please take a look. Thanks!
6 years, 7 months ago (2014-05-10 02:04:49 UTC) #1
Sungmann Cho
+blundell: he is the reporter of this issue.
6 years, 7 months ago (2014-05-12 23:53:00 UTC) #2
blundell
Moving darin and sky to CC +abarth, jam: Can you review just the changes to ...
6 years, 7 months ago (2014-05-13 08:02:46 UTC) #3
jam
content/public lgtm please do go through the callers and make sure they're ordered correctly though
6 years, 7 months ago (2014-05-13 21:14:40 UTC) #4
blundell
abarth@ to CC (I believe he's on leave) +brettw for //url OWNERS. Brett, could you ...
6 years, 7 months ago (2014-05-19 07:41:21 UTC) #5
blundell
brettw: ping
6 years, 7 months ago (2014-05-26 06:52:46 UTC) #6
brettw
/url lgtm
6 years, 7 months ago (2014-05-26 19:01:19 UTC) #7
blundell
https://codereview.chromium.org/273193004/diff/1/chrome/browser/autocomplete/autocomplete_input.cc File chrome/browser/autocomplete/autocomplete_input.cc (right): https://codereview.chromium.org/273193004/diff/1/chrome/browser/autocomplete/autocomplete_input.cc#newcode12 chrome/browser/autocomplete/autocomplete_input.cc:12: #include "content/public/common/url_constants.h" Could you replace all of the includes ...
6 years, 7 months ago (2014-05-27 09:39:33 UTC) #8
Sungmann Cho
https://codereview.chromium.org/273193004/diff/1/chrome/browser/autocomplete/autocomplete_input.cc File chrome/browser/autocomplete/autocomplete_input.cc (right): https://codereview.chromium.org/273193004/diff/1/chrome/browser/autocomplete/autocomplete_input.cc#newcode12 chrome/browser/autocomplete/autocomplete_input.cc:12: #include "content/public/common/url_constants.h" On 2014/05/27 09:39:34, blundell wrote: > Could ...
6 years, 6 months ago (2014-05-28 09:10:50 UTC) #9
blundell
LGTM, thanks! https://codereview.chromium.org/273193004/diff/40001/url/url_util.cc File url/url_util.cc (right): https://codereview.chromium.org/273193004/diff/40001/url/url_util.cc#newcode40 url/url_util.cc:40: url::kFileScheme, // Yes, file urls can have ...
6 years, 6 months ago (2014-05-28 11:21:47 UTC) #10
Sungmann Cho
Thank you for guiding me, blundell! :) https://codereview.chromium.org/273193004/diff/40001/url/url_util.cc File url/url_util.cc (right): https://codereview.chromium.org/273193004/diff/40001/url/url_util.cc#newcode40 url/url_util.cc:40: url::kFileScheme, // ...
6 years, 6 months ago (2014-05-28 11:54:58 UTC) #11
Sungmann Cho
The CQ bit was checked by sungmann.cho@navercorp.com
6 years, 6 months ago (2014-05-28 11:55:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sungmann.cho@navercorp.com/273193004/60001
6 years, 6 months ago (2014-05-28 11:55:51 UTC) #13
blundell
note: make sure that you add any TBR'd engineers as reviewers and alert them to ...
6 years, 6 months ago (2014-05-28 11:56:22 UTC) #14
Sungmann Cho
On 2014/05/28 11:56:22, blundell wrote: > note: make sure that you add any TBR'd engineers ...
6 years, 6 months ago (2014-05-28 12:06:24 UTC) #15
blundell
sorry, one final nit: When you add Finnur as a TBR'd reviewer, you should also ...
6 years, 6 months ago (2014-05-28 12:20:34 UTC) #16
Sungmann Cho
TBR=finnur@ for //extensions
6 years, 6 months ago (2014-05-28 12:27:19 UTC) #17
Sungmann Cho
On 2014/05/28 12:20:34, blundell wrote: > sorry, one final nit: > > When you add ...
6 years, 6 months ago (2014-05-28 12:39:19 UTC) #18
Sungmann Cho
The CQ bit was unchecked by sungmann.cho@navercorp.com
6 years, 6 months ago (2014-05-28 12:58:38 UTC) #19
Sungmann Cho
+TBR=mkosiba@chromium.org for //android_webview +TBR=derat@chromium.org for //apps
6 years, 6 months ago (2014-05-28 14:16:14 UTC) #20
Sungmann Cho
The CQ bit was checked by sungmann.cho@navercorp.com
6 years, 6 months ago (2014-05-28 14:16:30 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sungmann.cho@navercorp.com/273193004/80001
6 years, 6 months ago (2014-05-28 14:17:45 UTC) #22
Daniel Erat
lgtm for apps/shell
6 years, 6 months ago (2014-05-28 14:19:45 UTC) #23
mkosiba (inactive)
android_webview/ LGTM
6 years, 6 months ago (2014-05-28 15:54:21 UTC) #24
Finnur
file:*extensions* LGTM
6 years, 6 months ago (2014-05-28 16:33:23 UTC) #25
Finnur
On 2014/05/28 16:33:23, Finnur wrote: > file:*extensions* LGTM Well... file:*extension* .. technically.
6 years, 6 months ago (2014-05-28 16:33:52 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 18:05:12 UTC) #27
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 21:32:34 UTC) #28
Message was sent while issue was closed.
Change committed as 273359

Powered by Google App Engine
This is Rietveld 408576698