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

Issue 2622693002: Cleanup of static lists of schemes & origins that are created at startup. (Closed)

Created:
3 years, 11 months ago by jam
Modified:
3 years, 11 months ago
Reviewers:
brettw
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, serviceworker-reviews, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, shimazu+serviceworker_chromium.org, extensions-reviews_chromium.org, lcwu+watch_chromium.org, horo+watch_chromium.org, jam, kinuko+serviceworker, nhiroki, chromium-apps-reviews_chromium.org, nasko+codewatch_chromium.org, darin-cc_chromium.org, halliwell+watch_chromium.org, mac-reviews_chromium.org, alokp+watch_chromium.org, kinuko+watch, tzik, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup of static lists of schemes & origins that are created at startup. This in preparation for using this method to grab other schemes that we need to now share across the browser and renderer for PlzNavigate. This change does: -combines AddAdditionalSchemes/AddSecureSchemesAndOrigins/AddServiceWorkerSchemes -standardizes on std::string BUG=627502 Review-Url: https://codereview.chromium.org/2622693002 Cr-Commit-Position: refs/heads/master@{#442776} Committed: https://chromium.googlesource.com/chromium/src/+/e0dcd98dbb8363f64857345c317da57cde0588b3

Patch Set 1 #

Patch Set 2 : use struct #

Total comments: 6

Patch Set 3 : review comments #

Patch Set 4 : review comments #

Patch Set 5 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -376 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_content_client.h View 1 2 chunks +1 line, -7 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 2 chunks +23 lines, -34 lines 0 comments Download
D chrome/common/chrome_content_client_ios.mm View 1 chunk +0 lines, -74 lines 0 comments Download
M chrome/common/secure_origin_whitelist.h View 1 2 3 1 chunk +10 lines, -10 lines 0 comments Download
M chrome/common/secure_origin_whitelist.cc View 1 2 3 2 chunks +9 lines, -7 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 1 chunk +2 lines, -6 lines 0 comments Download
M chromecast/common/cast_content_client.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M chromecast/common/cast_content_client.cc View 1 2 chunks +2 lines, -9 lines 0 comments Download
M components/test/components_test_suite.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host_unittest.cc View 1 2 3 4 5 chunks +7 lines, -4 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/origin_util.cc View 1 2 4 chunks +5 lines, -44 lines 0 comments Download
D content/common/savable_url_schemes.h View 1 chunk +0 lines, -19 lines 0 comments Download
D content/common/savable_url_schemes.cc View 1 chunk +0 lines, -39 lines 0 comments Download
M content/common/url_schemes.h View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M content/common/url_schemes.cc View 1 2 3 2 chunks +68 lines, -39 lines 0 comments Download
M content/public/common/content_client.h View 1 2 3 3 chunks +20 lines, -19 lines 0 comments Download
M content/public/common/content_client.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/url_utils.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/public/common/url_utils.cc View 1 2 1 chunk +3 lines, -8 lines 0 comments Download
M content/public/test/content_test_suite_base.h View 1 chunk +5 lines, -6 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/savable_resources.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/savable_resources.cc View 3 chunks +3 lines, -10 lines 0 comments Download
M content/renderer/savable_resources_browsertest.cc View 1 chunk +1 line, -9 lines 0 comments Download
M extensions/shell/common/shell_content_client.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M extensions/shell/common/shell_content_client.cc View 1 1 chunk +3 lines, -7 lines 0 comments Download
M extensions/test/extensions_unittests_main.cc View 1 1 chunk +3 lines, -7 lines 0 comments Download

Messages

Total messages: 83 (70 generated)
jam
3 years, 11 months ago (2017-01-09 21:51:54 UTC) #23
jam
used a struct per our chat, ptal
3 years, 11 months ago (2017-01-10 01:11:52 UTC) #32
brettw
https://codereview.chromium.org/2622693002/diff/240001/chrome/common/secure_origin_whitelist.h File chrome/common/secure_origin_whitelist.h (right): https://codereview.chromium.org/2622693002/diff/240001/chrome/common/secure_origin_whitelist.h#newcode18 chrome/common/secure_origin_whitelist.h:18: void GetSecureOriginWhitelist(std::vector<std::string>* origins); Why did the type change to ...
3 years, 11 months ago (2017-01-10 18:58:17 UTC) #58
jam
https://codereview.chromium.org/2622693002/diff/240001/chrome/common/secure_origin_whitelist.h File chrome/common/secure_origin_whitelist.h (right): https://codereview.chromium.org/2622693002/diff/240001/chrome/common/secure_origin_whitelist.h#newcode18 chrome/common/secure_origin_whitelist.h:18: void GetSecureOriginWhitelist(std::vector<std::string>* origins); On 2017/01/10 18:58:17, brettw (ping after ...
3 years, 11 months ago (2017-01-10 19:16:33 UTC) #60
brettw
https://codereview.chromium.org/2622693002/diff/240001/chrome/common/secure_origin_whitelist.h File chrome/common/secure_origin_whitelist.h (right): https://codereview.chromium.org/2622693002/diff/240001/chrome/common/secure_origin_whitelist.h#newcode18 chrome/common/secure_origin_whitelist.h:18: void GetSecureOriginWhitelist(std::vector<std::string>* origins); But the other things in the ...
3 years, 11 months ago (2017-01-10 20:19:45 UTC) #63
jam
https://codereview.chromium.org/2622693002/diff/240001/chrome/common/secure_origin_whitelist.h File chrome/common/secure_origin_whitelist.h (right): https://codereview.chromium.org/2622693002/diff/240001/chrome/common/secure_origin_whitelist.h#newcode18 chrome/common/secure_origin_whitelist.h:18: void GetSecureOriginWhitelist(std::vector<std::string>* origins); On 2017/01/10 20:19:45, brettw (ping after ...
3 years, 11 months ago (2017-01-10 21:01:37 UTC) #64
brettw
lgtm
3 years, 11 months ago (2017-01-10 21:35:23 UTC) #67
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/2622693002/280001
3 years, 11 months ago (2017-01-10 21:38:20 UTC) #71
commit-bot: I haz the power
Failed to apply patch for content/browser/service_worker/service_worker_provider_host_unittest.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-10 23:24:19 UTC) #73
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/2622693002/300001
3 years, 11 months ago (2017-01-10 23:53:58 UTC) #76
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/97479)
3 years, 11 months ago (2017-01-11 01:36:52 UTC) #78
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/2622693002/300001
3 years, 11 months ago (2017-01-11 01:55:00 UTC) #80
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 03:14:23 UTC) #83
Message was sent while issue was closed.
Committed patchset #5 (id:300001) as
https://chromium.googlesource.com/chromium/src/+/e0dcd98dbb8363f64857345c317d...

Powered by Google App Engine
This is Rietveld 408576698