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

Issue 1864583006: Simplify BrowserContext by removing redundant methods. (Closed)

Created:
4 years, 8 months ago by jam
Modified:
4 years, 8 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, asanka, tzik, nasko+codewatch_chromium.org, browser-components-watch_chromium.org, nyquist+watch-blimp_chromium.org, bondd+autofillwatch_chromium.org, kmarshall+watch-blimp_chromium.org, tracing+reviews_chromium.org, markusheintz_, wifiprefetch-reviews_google.com, extensions-reviews_chromium.org, maniscalco+watch-blimp_chromium.org, kinuko+watch, dzhioev+watch_chromium.org, achuith+watch_chromium.org, Peter Beverloo, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, rlp+watch_chromium.org, jkarlin+watch_chromium.org, devtools-reviews_chromium.org, groby+spellwatch_chromium.org, chromium-apps-reviews_chromium.org, blink-worker-reviews_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, rouslan+autofill_chromium.org, nhiroki, vabr+watchlistautofill_chromium.org, rouslan+spell_chromium.org, oshima+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, wfh+watch_chromium.org, jdonnelly+autofillwatch_chromium.org, pfeldman, darin-cc_chromium.org, estade+watch_chromium.org, dtrainor+watch-blimp_chromium.org, kinuko+fileapi, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify BrowserContext by removing redundant methods. GetRequestContext duplicates BrowserContext::GetDefaultStoragePartition(browser_context)->GetURLRequestContext(). BUG=159193 Committed: https://crrev.com/f26bfb5f167883133d755704bfab8ab8215959c9 Cr-Commit-Position: refs/heads/master@{#386512} Committed: https://crrev.com/b84299e7eba64691459f4c11688bef958cb6f659 Cr-Commit-Position: refs/heads/master@{#386716}

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : fixes #

Patch Set 4 : fixes #

Patch Set 5 : fixes #

Patch Set 6 : merge #

Patch Set 7 : fixes #

Patch Set 8 : merge #

Patch Set 9 : merge #

Patch Set 10 : fix #

Patch Set 11 : fixes #

Patch Set 12 : fix test leak #

Patch Set 13 : reupload after revert #

Patch Set 14 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -223 lines) Patch
M android_webview/browser/aw_browser_context.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/browser/aw_browser_context.cc View 1 2 3 4 5 2 chunks +9 lines, -9 lines 0 comments Download
M android_webview/browser/net/token_binding_manager.cc View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -3 lines 0 comments Download
M android_webview/native/aw_contents_statics.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -2 lines 0 comments Download
M blimp/engine/common/blimp_browser_context.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M blimp/engine/common/blimp_browser_context.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.cc View 2 chunks +9 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/login/profile_auth_data_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/dom_distiller/dom_distiller_service_factory.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/copresence/copresence_api.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/gcd_private/gcd_private_api.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation_manager.cc View 1 2 3 4 5 2 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_reenabler.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/external_install_error.cc View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/install_verifier.cc View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/updater/chrome_update_client_config.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/privet_notifications.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/profile_resetter/reset_report_uploader.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/search_engines/template_url_fetcher_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.cc View 1 2 3 4 5 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spelling_service_client.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chromecast/browser/cast_browser_context.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chromecast/browser/cast_browser_context.cc View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M chromecast/browser/cast_browser_main_parts.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -1 line 0 comments Download
M chromecast/browser/geolocation/cast_access_token_store.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/autofill/content/browser/content_autofill_driver.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M components/dom_distiller/standalone/content_extractor_browsertest.cc View 2 chunks +4 lines, -1 line 0 comments Download
M components/feedback/feedback_uploader_chrome.cc View 2 chunks +4 lines, -1 line 0 comments Download
M components/feedback/feedback_uploader_chrome_unittest.cc View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M components/precache/content/precache_manager.cc View 2 chunks +10 lines, -7 lines 0 comments Download
M components/precache/content/precache_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +10 lines, -1 line 0 comments Download
M content/browser/browser_context.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/cache_storage/cache_storage_blob_to_disk_cache_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -5 lines 0 comments Download
M content/browser/cache_storage/cache_storage_cache_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +7 lines, -4 lines 0 comments Download
M content/browser/cache_storage/cache_storage_manager_unittest.cc View 1 2 3 4 5 6 7 4 chunks +6 lines, -3 lines 0 comments Download
M content/browser/devtools/shared_worker_devtools_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +15 lines, -13 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/fileapi/fileapi_message_filter_unittest.cc View 1 2 3 4 5 6 7 10 chunks +21 lines, -16 lines 0 comments Download
M content/browser/media/android/media_resource_getter_impl.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/media/android/provision_fetcher_impl.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/media/cdm/browser_cdm_manager.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/shared_worker/shared_worker_instance_unittest.cc View 1 2 3 4 5 6 7 2 chunks +11 lines, -9 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl_unittest.cc View 1 2 3 4 5 6 7 2 chunks +11 lines, -9 lines 0 comments Download
M content/browser/tracing/tracing_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/browser_context.h View 1 2 3 4 5 6 7 2 chunks +0 lines, -8 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -2 lines 0 comments Download
M content/public/test/test_browser_context.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/test_browser_context.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -7 lines 0 comments Download
M content/shell/browser/shell_access_token_store.cc View 2 chunks +4 lines, -1 line 0 comments Download
M content/shell/browser/shell_browser_context.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/browser/shell_browser_context.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -7 lines 0 comments Download
M content/shell/browser/shell_devtools_frontend.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download
M extensions/browser/api/socket/socket_api.cc View 2 chunks +3 lines, -1 line 0 comments Download
M extensions/browser/api/sockets_tcp/sockets_tcp_api.cc View 2 chunks +3 lines, -1 line 0 comments Download
M extensions/browser/api_unittest.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api_unittest.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/browser/content_hash_fetcher.cc View 2 chunks +4 lines, -1 line 0 comments Download
M extensions/browser/extensions_test.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_ui/web_ui_url_fetcher.cc View 2 chunks +4 lines, -1 line 0 comments Download
M extensions/shell/browser/api/identity/identity_api.cc View 2 chunks +5 lines, -1 line 0 comments Download
M extensions/shell/browser/shell_oauth2_token_service_delegate.cc View 2 chunks +4 lines, -1 line 0 comments Download
M headless/lib/browser/headless_browser_context.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M headless/lib/browser/headless_browser_context.cc View 1 2 3 4 5 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
jam
4 years, 8 months ago (2016-04-11 20:21:26 UTC) #2
Avi (use Gerrit)
lgtm
4 years, 8 months ago (2016-04-11 21:28:02 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864583006/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864583006/220001
4 years, 8 months ago (2016-04-11 22:05:22 UTC) #6
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 8 months ago (2016-04-11 23:22:35 UTC) #7
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/f26bfb5f167883133d755704bfab8ab8215959c9 Cr-Commit-Position: refs/heads/master@{#386512}
4 years, 8 months ago (2016-04-11 23:23:41 UTC) #9
kjellander_chromium
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/1878153002/ by kjellander@chromium.org. ...
4 years, 8 months ago (2016-04-12 05:19:58 UTC) #10
jam
On 2016/04/12 05:19:58, kjellander (chromium) wrote: > A revert of this CL (patchset #12 id:220001) ...
4 years, 8 months ago (2016-04-12 16:12:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864583006/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864583006/260001
4 years, 8 months ago (2016-04-12 16:30:20 UTC) #15
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 8 months ago (2016-04-12 16:59:12 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 17:01:18 UTC) #19
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/b84299e7eba64691459f4c11688bef958cb6f659
Cr-Commit-Position: refs/heads/master@{#386716}

Powered by Google App Engine
This is Rietveld 408576698