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

Issue 12546016: Remove the Extensions URLRequestContext (Closed)

Created:
7 years, 9 months ago by awong
Modified:
6 years, 12 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, sail+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, eroman, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, mmenke, Randy Smith (Not in Mondays), sky, darin (slow to review)
Visibility:
Public.

Description

Remove the Extensions URLRequestContext. Though chrome-extension: scheme URLs support cookies, they do not share a namespace with http: and https:. In particular, chrome-extension://a and http://a should not have the same set of cookies. To enforce this, previously the code created a completely separate URLRequestContext for servicing chrome-extension: schemes. However, the code really only used this object as a method for conveying the correct cookie jar from Profile creation to a few spots where cookies were accessed; the rest of the URLRequestContext functionality was unused. This CL removes the Extensions URLRequestContext code and replaces it with APIs that directly expose the needed net::CookieStore. Lastly, CookieMonster::EnableFileScheme() is removed and CookieMonster::Delegate is renamed CookieMonsterDelegate. EnableFileScheme is an inherently racy API because CookieMonsters are creatable on all threads and this function sets an unprotected global flag. CookieMonsterDelegate is preferable to the nested interface because it can now be forward declared. TBRing darin and sky to cover the rest of the mechanical unittest changes. TBR=darin,sky BUG=158386, 159193, 57884 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219709

Patch Set 1 #

Total comments: 1

Patch Set 2 : snapshot so I can see what I broke #

Patch Set 3 : less insanity #

Patch Set 4 : Getting closer! #

Patch Set 5 : should copmile #

Patch Set 6 : Fixed CookieStore. Start real review. #

Patch Set 7 : it builds! kinda #

Patch Set 8 : Getting really close. #

Patch Set 9 : #

Patch Set 10 : most tests fixed. Testing profile still using wrong cookie store. Grrrrrrrrr. #

Patch Set 11 : mostly working. #

Patch Set 12 : fix stupid compile errors. #

Patch Set 13 : Style fixed. special storeage policy, test_browser_context and test threads still wrong. #

Patch Set 14 : android fix. #

Patch Set 15 : remove the browser threads I added. #

Patch Set 16 : unittests pass! #

Patch Set 17 : merged #

Patch Set 18 : rebased. #

Patch Set 19 : this time, for realz. (merged in all the unittest fixes for TestBrowserThreadBundle and TestingProf… #

Patch Set 20 : blargh #

Patch Set 21 : most unittests pass #

Total comments: 8

Patch Set 22 : merge data deletion CL. #

Patch Set 23 : merge with ToT and fix unittests. #

Patch Set 24 : fix Session Cookies #

Patch Set 25 : Remove CookieMonster racy API for FileCookies #

Patch Set 26 : Clean up more TestBrowserTheadBundle + TestingProfile related crashes. it never ends. #

Patch Set 27 : Move OverrideCookieStoreMap into BrowserContext #

Patch Set 28 : compile gdi. #

Total comments: 4

Patch Set 29 : Change Cookie Override API to not expose the CookieStoreMap. #

Patch Set 30 : Remove CookieStoreMap from content/public. Remove CookieStoreConfig factory methods. #

Patch Set 31 : fix some compile errors. #

Patch Set 32 : Fix some broken unittests. Test Fixtures exist for a reason peoples! use them! #

Patch Set 33 : Merged ToT. Addressed mpcomplete's comments. Sending for final owners review. #

Patch Set 34 : fix silly compile error #

Total comments: 33

Patch Set 35 : address comments #

Total comments: 2

Patch Set 36 : fix android webview. Also meant exposing GetCookieStoreForScheme in BrowserContext rather than just… #

Patch Set 37 : android webview init fix merged in. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1302 lines, -1150 lines) Patch
M android_webview/browser/aw_browser_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +5 lines, -0 lines 0 comments Download
M android_webview/browser/aw_browser_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +23 lines, -9 lines 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +1 line, -3 lines 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +2 lines, -4 lines 0 comments Download
M android_webview/native/aw_quota_manager_bridge_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -2 lines 0 comments Download
M apps/shell_window_geometry_cache_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/autocomplete/bookmark_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/background/background_contents_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 5 chunks +78 lines, -75 lines 0 comments Download
M chrome/browser/background/background_mode_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +26 lines, -5 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 2 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 4 chunks +3 lines, -12 lines 0 comments Download
M chrome/browser/diagnostics/sqlite_diagnostics.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_request_limiter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 4 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/cookies/cookies_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/storage/settings_frontend_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 8 chunks +9 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/storage/settings_sync_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 6 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/extensions/data_deleter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +5 lines, -29 lines 0 comments Download
M chrome/browser/extensions/error_console/error_console_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_warning_badge_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_warning_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/menu_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 4 chunks +6 lines, -10 lines 0 comments Download
M chrome/browser/history/shortcuts_backend_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 6 chunks +7 lines, -12 lines 0 comments Download
M chrome/browser/history/shortcuts_database_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/history/thumbnail_database_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +5 lines, -11 lines 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_sync_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_cookie_notification_details.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/chrome_url_request_context.h View 1 2 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +0 lines, -32 lines 0 comments Download
A chrome/browser/net/cookie_store_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/net/cookie_store_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +141 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_form_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 7 chunks +4 lines, -12 lines 0 comments Download
M chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 6 chunks +8 lines, -21 lines 0 comments Download
M chrome/browser/prefs/pref_model_associator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 8 chunks +10 lines, -27 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/profiles/avatar_menu_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 4 chunks +20 lines, -5 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +0 lines, -66 lines 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 4 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 7 chunks +39 lines, -25 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +1 line, -11 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 11 chunks +10 lines, -131 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 7 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 8 chunks +0 lines, -75 lines 0 comments Download
M chrome/browser/profiles/profile_loader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 5 chunks +37 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 5 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 4 chunks +18 lines, -10 lines 0 comments Download
M chrome/browser/spellchecker/feedback_sender_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/sync/sync_global_error_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/thumbnails/thumbnail_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/account_chooser_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_theme_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/omnibox/omnibox_view_gtk_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 5 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/sync/sync_promo_ui_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +8 lines, -18 lines 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +12 lines, -22 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 6 chunks +14 lines, -45 lines 0 comments Download
M components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +6 lines, -3 lines 0 comments Download
M content/browser/appcache/chrome_appcache_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 8 chunks +15 lines, -52 lines 0 comments Download
M content/browser/browser_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 12 chunks +11 lines, -17 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 11 chunks +25 lines, -13 lines 0 comments Download
M content/browser/loader/resource_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/net/cookie_store_map.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +62 lines, -0 lines 0 comments Download
A content/browser/net/cookie_store_map.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +104 lines, -0 lines 0 comments Download
M content/browser/net/sqlite_persistent_cookie_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +42 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 4 chunks +8 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 10 chunks +41 lines, -32 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 6 chunks +14 lines, -8 lines 0 comments Download
M content/browser/storage_partition_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 14 chunks +28 lines, -53 lines 0 comments Download
M content/browser/storage_partition_impl_map.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/storage_partition_impl_map.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 7 chunks +86 lines, -4 lines 0 comments Download
M content/browser/storage_partition_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +3 lines, -2 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/browser_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +24 lines, -3 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +2 lines, -8 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/browser/cookie_store_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +32 lines, -8 lines 0 comments Download
M content/public/browser/storage_partition.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 4 chunks +6 lines, -9 lines 0 comments Download
M content/public/common/content_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/test/mock_resource_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/test/mock_resource_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +5 lines, -5 lines 0 comments Download
M content/public/test/test_browser_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +4 lines, -6 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +0 lines, -2 lines 0 comments Download
M content/shell/browser/shell_browser_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/shell_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 2 chunks +3 lines, -1 line 0 comments Download
M content/test/test_content_browser_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +7 lines, -0 lines 0 comments Download
M content/test/test_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +9 lines, -0 lines 0 comments Download
M net/cookies/cookie_monster.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 10 chunks +17 lines, -17 lines 0 comments Download
M net/cookies/cookie_monster.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 6 chunks +23 lines, -30 lines 0 comments Download
M net/cookies/cookie_monster_store_test.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M net/cookies/cookie_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M webkit/support/test_webkit_platform_support.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
awong
Hi John, Before I proceed further, could you take a look at the content public ...
7 years, 4 months ago (2013-07-31 00:51:18 UTC) #1
jam
this looks good, just a few questions of whether we can lessen the content api? ...
7 years, 4 months ago (2013-07-31 17:04:02 UTC) #2
awong
https://codereview.chromium.org/12546016/diff/132001/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/12546016/diff/132001/content/public/browser/content_browser_client.h#newcode350 content/public/browser/content_browser_client.h:350: // Allow the embedder to override the cookie store ...
7 years, 4 months ago (2013-08-05 23:32:37 UTC) #3
awong
This is a another huge review. Please split up as follows: mpcomplete: You're probably best ...
7 years, 4 months ago (2013-08-07 01:26:58 UTC) #4
awong
On 2013/08/07 01:26:58, awong wrote: > This is a another huge review. Please split up ...
7 years, 4 months ago (2013-08-07 02:07:52 UTC) #5
jam
https://codereview.chromium.org/12546016/diff/132001/content/public/browser/cookie_store_map.h File content/public/browser/cookie_store_map.h (right): https://codereview.chromium.org/12546016/diff/132001/content/public/browser/cookie_store_map.h#newcode25 content/public/browser/cookie_store_map.h:25: virtual net::CookieStore* GetForScheme(const std::string& scheme) const = 0; On ...
7 years, 4 months ago (2013-08-07 06:16:32 UTC) #6
awong
On Tue, Aug 6, 2013 at 11:16 PM, <jam@chromium.org> wrote: > > https://codereview.chromium.**org/12546016/diff/132001/** > content/public/browser/cookie_**store_map.h<https://codereview.chromium.org/12546016/diff/132001/content/public/browser/cookie_store_map.h> ...
7 years, 4 months ago (2013-08-07 06:21:33 UTC) #7
jam
On 2013/08/07 06:21:33, awong wrote: > True. I wrote that response a bit too hastily ...
7 years, 4 months ago (2013-08-07 19:13:46 UTC) #8
Matt Perry
Nice, LGTM! https://codereview.chromium.org/12546016/diff/209001/content/browser/net/cookie_store_map_impl.h File content/browser/net/cookie_store_map_impl.h (right): https://codereview.chromium.org/12546016/diff/209001/content/browser/net/cookie_store_map_impl.h#newcode32 content/browser/net/cookie_store_map_impl.h:32: // contained in this map. Call |done| ...
7 years, 4 months ago (2013-08-07 21:48:55 UTC) #9
awong
jam: Can you take a look at https://codereview.chromium.org/12546016/diff/223001/content/public/browser/browser_context.h and let me know what you think ...
7 years, 4 months ago (2013-08-08 01:23:21 UTC) #10
jam
On 2013/08/08 01:23:21, awong wrote: > Is there any rules preventing test_utils from seeing StoragePartitionImpl ...
7 years, 4 months ago (2013-08-09 17:28:26 UTC) #11
erikwright (departed)
net/cookies LGTM
7 years, 4 months ago (2013-08-09 18:11:18 UTC) #12
awong
jam: I've removed CookieStoreMap and the factory methods from CookieStoreConfig. Please let me know what ...
7 years, 4 months ago (2013-08-14 02:38:42 UTC) #13
jam
On 2013/08/14 02:38:42, awong wrote: > jam: I've removed CookieStoreMap and the factory methods from ...
7 years, 4 months ago (2013-08-14 22:21:23 UTC) #14
awong
On 2013/08/14 22:21:23, jam wrote: > On 2013/08/14 02:38:42, awong wrote: > > jam: I've ...
7 years, 4 months ago (2013-08-14 22:25:02 UTC) #15
awong
Merged ToT. Addressed mpcomplete's comments. Sending for final owners review.
7 years, 4 months ago (2013-08-16 00:29:36 UTC) #16
awong
Hey y'all...can you do OWNERS reviews for the listed subsections of the code review? joth: ...
7 years, 4 months ago (2013-08-16 00:54:53 UTC) #17
Bernhard Bauer
browsing_data LGTM with a style question: https://codereview.chromium.org/12546016/diff/286001/chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc File chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc (right): https://codereview.chromium.org/12546016/diff/286001/chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc#newcode28 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc:28: using content::BrowserContext; This ...
7 years, 4 months ago (2013-08-16 06:46:44 UTC) #18
tkent
https://codereview.chromium.org/12546016/diff/286001/webkit/support/test_webkit_platform_support.cc File webkit/support/test_webkit_platform_support.cc (left): https://codereview.chromium.org/12546016/diff/286001/webkit/support/test_webkit_platform_support.cc#oldcode99 webkit/support/test_webkit_platform_support.cc:99: net::CookieMonster::EnableFileScheme(); Will Blink tests work correctly without this? Or ...
7 years, 4 months ago (2013-08-16 07:20:13 UTC) #19
awong
https://codereview.chromium.org/12546016/diff/286001/webkit/support/test_webkit_platform_support.cc File webkit/support/test_webkit_platform_support.cc (left): https://codereview.chromium.org/12546016/diff/286001/webkit/support/test_webkit_platform_support.cc#oldcode99 webkit/support/test_webkit_platform_support.cc:99: net::CookieMonster::EnableFileScheme(); On 2013/08/16 07:20:13, tkent wrote: > Will Blink ...
7 years, 4 months ago (2013-08-16 09:18:57 UTC) #20
Miranda Callahan
On 2013/08/16 09:18:57, awong wrote: > https://codereview.chromium.org/12546016/diff/286001/webkit/support/test_webkit_platform_support.cc > File webkit/support/test_webkit_platform_support.cc (left): > > https://codereview.chromium.org/12546016/diff/286001/webkit/support/test_webkit_platform_support.cc#oldcode99 > ...
7 years, 4 months ago (2013-08-16 13:37:16 UTC) #21
Randy Smith (Not in Mondays)
Ben: Willing to take the download_request_limiter_unittest.cc portion of this? I'm out today (and you probably ...
7 years, 4 months ago (2013-08-16 14:18:05 UTC) #22
erikwright (departed)
https://codereview.chromium.org/12546016/diff/286001/chrome/browser/net/cookie_store_util.cc File chrome/browser/net/cookie_store_util.cc (right): https://codereview.chromium.org/12546016/diff/286001/chrome/browser/net/cookie_store_util.cc#newcode115 chrome/browser/net/cookie_store_util.cc:115: (*configs)[content::BrowserContext::kDefaultCookieScheme] = would it not be more correct to ...
7 years, 4 months ago (2013-08-16 14:39:23 UTC) #23
benjhayden
lgtm https://codereview.chromium.org/12546016/diff/286001/content/browser/download/download_manager_impl_unittest.cc File content/browser/download/download_manager_impl_unittest.cc (right): https://codereview.chromium.org/12546016/diff/286001/content/browser/download/download_manager_impl_unittest.cc#newcode28 content/browser/download/download_manager_impl_unittest.cc:28: #include "content/public/browser/cookie_store_factory.h" necessary?
7 years, 4 months ago (2013-08-16 16:35:49 UTC) #24
joth
sorry for slow reply. lgtm with some comment comments. https://codereview.chromium.org/12546016/diff/286001/android_webview/browser/aw_browser_context.cc File android_webview/browser/aw_browser_context.cc (right): https://codereview.chromium.org/12546016/diff/286001/android_webview/browser/aw_browser_context.cc#newcode112 android_webview/browser/aw_browser_context.cc:112: ...
7 years, 4 months ago (2013-08-16 17:45:04 UTC) #25
Charlie Reis
content/render* and content/storage_partition* LGTM, with some minor suggestions below. https://codereview.chromium.org/12546016/diff/286001/content/browser/net/cookie_store_map.h File content/browser/net/cookie_store_map.h (right): https://codereview.chromium.org/12546016/diff/286001/content/browser/net/cookie_store_map.h#newcode25 content/browser/net/cookie_store_map.h:25: ...
7 years, 4 months ago (2013-08-17 00:17:22 UTC) #26
awong
Thanks everyone. Most comments addressed. joth: Unforutnately, I think I'm going to have to make ...
7 years, 4 months ago (2013-08-17 00:32:52 UTC) #27
erikwright (departed)
https://codereview.chromium.org/12546016/diff/286001/chrome/browser/net/cookie_store_util.cc File chrome/browser/net/cookie_store_util.cc (right): https://codereview.chromium.org/12546016/diff/286001/chrome/browser/net/cookie_store_util.cc#newcode115 chrome/browser/net/cookie_store_util.cc:115: (*configs)[content::BrowserContext::kDefaultCookieScheme] = On 2013/08/17 00:32:52, awong wrote: > On ...
7 years, 4 months ago (2013-08-17 00:49:00 UTC) #28
awong
https://codereview.chromium.org/12546016/diff/286001/chrome/browser/net/cookie_store_util.cc File chrome/browser/net/cookie_store_util.cc (right): https://codereview.chromium.org/12546016/diff/286001/chrome/browser/net/cookie_store_util.cc#newcode115 chrome/browser/net/cookie_store_util.cc:115: (*configs)[content::BrowserContext::kDefaultCookieScheme] = On 2013/08/17 00:49:01, erikwright wrote: > On ...
7 years, 4 months ago (2013-08-17 01:11:32 UTC) #29
erikwright (departed)
I'm on holiday as of a few hours ago. LGTM to me with that adjustment. ...
7 years, 4 months ago (2013-08-17 01:14:39 UTC) #30
tkent
lgtm for webkit/support. https://codereview.chromium.org/12546016/diff/286001/webkit/support/test_webkit_platform_support.cc File webkit/support/test_webkit_platform_support.cc (left): https://codereview.chromium.org/12546016/diff/286001/webkit/support/test_webkit_platform_support.cc#oldcode99 webkit/support/test_webkit_platform_support.cc:99: net::CookieMonster::EnableFileScheme(); On 2013/08/16 09:18:58, awong wrote: ...
7 years, 4 months ago (2013-08-18 22:31:55 UTC) #31
Andrew T Wilson (Slow)
LGTM, with one question. https://codereview.chromium.org/12546016/diff/311001/chrome/browser/background/background_contents_service_unittest.cc File chrome/browser/background/background_contents_service_unittest.cc (right): https://codereview.chromium.org/12546016/diff/311001/chrome/browser/background/background_contents_service_unittest.cc#newcode37 chrome/browser/background/background_contents_service_unittest.cc:37: CHECK(profile_manager_.SetUp()); Just out of curiosity ...
7 years, 4 months ago (2013-08-19 10:05:07 UTC) #32
awong
https://codereview.chromium.org/12546016/diff/311001/chrome/browser/background/background_contents_service_unittest.cc File chrome/browser/background/background_contents_service_unittest.cc (right): https://codereview.chromium.org/12546016/diff/311001/chrome/browser/background/background_contents_service_unittest.cc#newcode37 chrome/browser/background/background_contents_service_unittest.cc:37: CHECK(profile_manager_.SetUp()); On 2013/08/19 10:05:08, Andrew T Wilson wrote: > ...
7 years, 4 months ago (2013-08-19 19:37:50 UTC) #33
joth
On 2013/08/16 17:45:04, joth wrote: > sorry for slow reply. lgtm with some comment comments. ...
7 years, 3 months ago (2013-08-27 01:39:37 UTC) #34
awong
On 2013/08/27 01:39:37, joth wrote: > On 2013/08/16 17:45:04, joth wrote: > > sorry for ...
7 years, 3 months ago (2013-08-27 01:42:09 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/12546016/344001
7 years, 3 months ago (2013-08-27 01:47:57 UTC) #36
commit-bot: I haz the power
Change committed as 219709
7 years, 3 months ago (2013-08-27 05:56:32 UTC) #37
Ryan Sleevi
net/ LGTM
6 years, 12 months ago (2013-12-28 00:35:08 UTC) #38
awong
6 years, 12 months ago (2013-12-28 00:40:06 UTC) #39
Message was sent while issue was closed.
On 2013/12/28 00:35:08, Ryan Sleevi wrote:
> net/ LGTM

FYI, I am now finally trying to reland this mega CL in smaller fragments.

To all reviewers, unless merging to ToT requires material changes, I'm going be
TBRing you as I go.

Holler at me if this causes you concern.

Powered by Google App Engine
This is Rietveld 408576698