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

Issue 9425026: Remove getters for HTML5 related objects from the ResourceContext interface. Half of them weren't u… (Closed)

Created:
8 years, 10 months ago by jam
Modified:
8 years, 10 months ago
Reviewers:
Jói
CC:
chromium-reviews, michaeln, mihaip+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Remove getters for HTML5 related objects from the ResourceContext interface. Half of them weren't used by chrome, so they can be hidden from chrome. The rest were accessed by chrome, but we don't need every embedder to store this data on their ResourceContext implementation. Instead have content associate the data itself to simplify the work for embedders. BUG=98716 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=122790

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : cleanup ResourceContext's implicit initialization #

Patch Set 4 : fix race condition #

Total comments: 6

Patch Set 5 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+429 lines, -361 lines) Patch
M base/supports_user_data.h View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/browsing_data_appcache_helper.h View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/browsing_data_appcache_helper.cc View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/browsing_data_remover.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_data_deleter.h View 1 2 3 4 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_data_deleter.cc View 1 2 3 4 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 2 3 1 chunk +12 lines, -11 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 1 chunk +21 lines, -20 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 7 chunks +0 lines, -37 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 13 chunks +11 lines, -69 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/offline_resource_throttle.h View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/offline_resource_throttle.cc View 1 2 3 3 chunks +11 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_url_data_manager_backend.h View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chrome_url_data_manager_backend.cc View 1 2 3 6 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/appcache/chrome_appcache_service.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/appcache/chrome_appcache_service_unittest.cc View 1 2 3 4 chunks +4 lines, -3 lines 0 comments Download
M content/browser/browser_context.cc View 1 2 3 4 5 chunks +18 lines, -43 lines 0 comments Download
M content/browser/chrome_blob_storage_context.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/chrome_blob_storage_context.cc View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
M content/browser/mock_resource_context.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/mock_resource_context.cc View 1 2 3 2 chunks +0 lines, -24 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_unittest.cc View 1 2 3 10 chunks +22 lines, -14 lines 0 comments Download
A content/browser/resource_context_impl.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A content/browser/resource_context_impl.cc View 1 2 3 1 chunk +92 lines, -0 lines 0 comments Download
M content/browser/worker_host/worker_process_host.cc View 1 2 3 9 chunks +22 lines, -12 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/browser_context.h View 1 2 3 3 chunks +12 lines, -5 lines 0 comments Download
M content/public/browser/resource_context.h View 1 2 3 2 chunks +24 lines, -20 lines 0 comments Download
M content/shell/shell_browser_context.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M content/shell/shell_resource_context.h View 1 2 3 1 chunk +1 line, -10 lines 0 comments Download
M content/shell/shell_resource_context.cc View 1 2 3 3 chunks +2 lines, -30 lines 0 comments Download
M content/test/test_browser_context.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M content/test/test_browser_context.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jam
8 years, 10 months ago (2012-02-18 01:42:49 UTC) #1
jam
or Joi, if you have a chance to look :)
8 years, 10 months ago (2012-02-20 18:51:15 UTC) #2
Jói
LGTM, very nice. https://chromiumcodereview.appspot.com/9425026/diff/5078/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://chromiumcodereview.appspot.com/9425026/diff/5078/chrome/browser/profiles/profile_impl.cc#newcode178 chrome/browser/profiles/profile_impl.cc:178: appcache::AppCacheService* appcache_service) { perhaps DCHECK on ...
8 years, 10 months ago (2012-02-20 23:13:48 UTC) #3
jam
https://chromiumcodereview.appspot.com/9425026/diff/5078/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://chromiumcodereview.appspot.com/9425026/diff/5078/chrome/browser/profiles/profile_impl.cc#newcode178 chrome/browser/profiles/profile_impl.cc:178: appcache::AppCacheService* appcache_service) { On 2012/02/20 23:13:49, Jói wrote: > ...
8 years, 10 months ago (2012-02-21 01:20:12 UTC) #4
jam
8 years, 10 months ago (2012-02-21 04:38:28 UTC) #5
btw it doesn't show up here, but i had run them through the memory bots, fixed
the issues and verified locally on my linux box. but i forgot to upload before
commit

Powered by Google App Engine
This is Rietveld 408576698