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

Issue 12049052: Move core url data manager classes to content. (Closed)

Created:
7 years, 11 months ago by jam
Modified:
7 years, 11 months ago
Reviewers:
awong, scottmg
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, vsevik, akalin, Raghu Simha, sail+watch_chromium.org, joi+watch-content_chromium.org, yurys, darin-cc_chromium.org, pfeldman, estade+watch_chromium.org, haitaol1, tim (not reviewing), pedrosimonetti+watch_chromium.org
Visibility:
Public.

Description

Move core url data manager classes to content. BUG=169170 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178663

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : fix cros #

Patch Set 4 : fix clang #

Patch Set 5 : fix unittests #

Patch Set 6 : fix race condition with accessing ResourceContext's SupportsUserData map #

Patch Set 7 : sync and fix browser plugin test #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -1704 lines) Patch
M chrome/browser/browser_shutdown.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 5 6 7 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 5 6 7 3 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 6 7 5 chunks +0 lines, -20 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_mock.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/DEPS View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/bookmarks_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_url_data_manager.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -163 lines 0 comments Download
D chrome/browser/ui/webui/chrome_url_data_manager.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -165 lines 0 comments Download
D chrome/browser/ui/webui/chrome_url_data_manager_backend.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -105 lines 0 comments Download
D chrome/browser/ui/webui/chrome_url_data_manager_backend.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -570 lines 0 comments Download
D chrome/browser/ui/webui/chrome_url_data_manager_factory.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/browser/ui/webui/chrome_url_data_manager_factory.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -39 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_data_source.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -93 lines 0 comments Download
D chrome/browser/ui/webui/chrome_web_ui_data_source.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -207 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_data_source_unittest.cc View 1 2 3 4 5 6 7 2 chunks +42 lines, -49 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/register_page_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/system_info_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/devtools_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/foreign_session_handler.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
D chrome/browser/ui/webui/shared_resources_data_source.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -31 lines 0 comments Download
D chrome/browser/ui/webui/shared_resources_data_source.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -62 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M content/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_host_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/browser/resource_context_impl.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/resource_context_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +21 lines, -4 lines 0 comments Download
M content/browser/storage_partition_impl_map.cc View 1 2 3 4 5 6 7 4 chunks +21 lines, -2 lines 0 comments Download
A + content/browser/webui/shared_resources_data_source.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/webui/shared_resources_data_source.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/webui/url_data_manager.h View 1 2 3 4 5 6 7 5 chunks +19 lines, -19 lines 0 comments Download
A + content/browser/webui/url_data_manager.cc View 1 2 3 4 5 6 7 8 4 chunks +38 lines, -20 lines 0 comments Download
A + content/browser/webui/url_data_manager_backend.h View 5 chunks +7 lines, -8 lines 0 comments Download
A + content/browser/webui/url_data_manager_backend.cc View 6 chunks +3 lines, -9 lines 0 comments Download
A + content/browser/webui/web_ui_data_source.h View 1 2 3 4 chunks +11 lines, -9 lines 0 comments Download
A + content/browser/webui/web_ui_data_source.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jam
I've left forwarding headers so that this change doesn't get larger. in future changes, I'll ...
7 years, 11 months ago (2013-01-24 00:10:22 UTC) #1
scottmg
content/browser/webui/web_ui_data_source_unittest.cc unnecessary lint complaining about some header sort orders otherwise, lgtm https://codereview.chromium.org/12049052/diff/1/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): ...
7 years, 11 months ago (2013-01-24 00:22:07 UTC) #2
jam
Albert: can you do a sanity check on my storage partition related changes? I'm basically ...
7 years, 11 months ago (2013-01-24 06:42:52 UTC) #3
jam
btw I broke out that fix into https://codereview.chromium.org/12047075/ so that I can try it and ...
7 years, 11 months ago (2013-01-24 07:27:33 UTC) #4
jam
Albert: ptal. I've updated the patch to store URLDataManager on BrowserContext instead of StoragePartition
7 years, 11 months ago (2013-01-24 19:44:57 UTC) #5
awong
LGTM w/ nit https://codereview.chromium.org/12049052/diff/3088/content/browser/resource_context_impl.cc File content/browser/resource_context_impl.cc (right): https://codereview.chromium.org/12049052/diff/3088/content/browser/resource_context_impl.cc#newcode23 content/browser/resource_context_impl.cc:23: static const char* kBlobStorageContextKeyName = "content_blob_storage_context"; ...
7 years, 11 months ago (2013-01-24 19:55:29 UTC) #6
awong
7 years, 11 months ago (2013-01-24 20:10:42 UTC) #7
https://codereview.chromium.org/12049052/diff/3088/content/browser/resource_c...
File content/browser/resource_context_impl.cc (right):

https://codereview.chromium.org/12049052/diff/3088/content/browser/resource_c...
content/browser/resource_context_impl.cc:23: static const char*
kBlobStorageContextKeyName = "content_blob_storage_context";
On 2013/01/24 19:55:29, awong wrote:
> The static is redundant here since were in the anonymous namespace.
> 
> Use const char* or preferably const char[]?

FYI, reading through c-style@, const char[] seems preferred.

Powered by Google App Engine
This is Rietveld 408576698