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

Issue 8070001: Use base::Callback in Quota related code. (Closed)

Created:
9 years, 2 months ago by tzik
Modified:
9 years, 2 months ago
CC:
chromium-reviews, dpranke+watch-content_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., kinuko+watch, arv (Not doing code reviews)
Visibility:
Public.

Description

Use base::Callback in Quota related code. BUG=None TEST='Compilation should finished successfull and all quota related tests should be passed.' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106060

Patch Set 1 #

Patch Set 2 : fix browser_tests #

Patch Set 3 : fix FileSystemOperationWriteTest #

Patch Set 4 : choke lint #

Total comments: 109

Patch Set 5 : pass as cref, and fix style. #

Total comments: 4

Patch Set 6 : 'Rebased.' #

Patch Set 7 : rebase again #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+757 lines, -734 lines) Patch
M chrome/browser/browsing_data_quota_helper_impl.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browsing_data_quota_helper_impl.cc View 1 2 3 4 5 6 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/browsing_data_quota_helper_unittest.cc View 1 2 3 4 5 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/browsing_data_remover.cc View 1 2 3 4 5 6 7 3 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/quota_internals_proxy.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/quota_internals_proxy.cc View 1 2 3 4 5 3 chunks +15 lines, -15 lines 0 comments Download
M content/browser/file_system/file_system_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/in_process_webkit/indexed_db_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/in_process_webkit/indexed_db_context.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_context.cc View 1 2 3 4 5 6 7 4 chunks +22 lines, -38 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_quota_client.h View 1 2 3 4 2 chunks +7 lines, -7 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_quota_client.cc View 1 2 3 4 6 chunks +22 lines, -24 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc View 1 2 3 4 5 6 7 7 chunks +19 lines, -13 lines 0 comments Download
M content/browser/renderer_host/database_message_filter.h View 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/database_message_filter.cc View 3 chunks +15 lines, -27 lines 0 comments Download
M content/browser/renderer_host/quota_dispatcher_host.cc View 7 chunks +15 lines, -9 lines 0 comments Download
M webkit/appcache/appcache_quota_client.h View 1 2 3 4 4 chunks +18 lines, -9 lines 0 comments Download
M webkit/appcache/appcache_quota_client.cc View 1 2 3 4 11 chunks +46 lines, -47 lines 0 comments Download
M webkit/appcache/appcache_quota_client_unittest.cc View 1 2 3 4 chunks +20 lines, -14 lines 0 comments Download
M webkit/appcache/appcache_storage_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/appcache/appcache_storage_impl.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M webkit/appcache/appcache_storage_impl_unittest.cc View 1 2 3 4 5 chunks +11 lines, -12 lines 0 comments Download
M webkit/database/database_quota_client.h View 1 2 3 4 2 chunks +7 lines, -7 lines 0 comments Download
M webkit/database/database_quota_client.cc View 1 2 3 4 7 chunks +22 lines, -26 lines 0 comments Download
M webkit/database/database_quota_client_unittest.cc View 1 2 3 4 7 chunks +19 lines, -15 lines 0 comments Download
M webkit/fileapi/file_system_operation.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_operation.cc View 1 2 3 4 5 6 7 9 chunks +30 lines, -17 lines 0 comments Download
M webkit/fileapi/file_system_operation_unittest.cc View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M webkit/fileapi/file_system_operation_write_unittest.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -4 lines 0 comments Download
M webkit/fileapi/file_system_quota_client.h View 1 2 3 4 2 chunks +15 lines, -12 lines 0 comments Download
M webkit/fileapi/file_system_quota_client.cc View 1 2 3 4 8 chunks +18 lines, -17 lines 0 comments Download
M webkit/fileapi/file_system_quota_client_unittest.cc View 8 chunks +21 lines, -17 lines 0 comments Download
M webkit/fileapi/file_system_quota_unittest.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M webkit/fileapi/obfuscated_file_util_unittest.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -6 lines 0 comments Download
M webkit/quota/mock_quota_manager.h View 1 2 3 4 2 chunks +7 lines, -5 lines 0 comments Download
M webkit/quota/mock_quota_manager.cc View 1 2 3 4 6 chunks +13 lines, -11 lines 0 comments Download
M webkit/quota/mock_quota_manager_unittest.cc View 1 2 3 5 chunks +11 lines, -9 lines 0 comments Download
M webkit/quota/mock_storage_client.h View 1 2 3 4 5 3 chunks +9 lines, -12 lines 0 comments Download
M webkit/quota/mock_storage_client.cc View 1 2 3 4 8 chunks +16 lines, -34 lines 0 comments Download
M webkit/quota/quota_client.h View 1 2 3 4 3 chunks +8 lines, -8 lines 0 comments Download
M webkit/quota/quota_manager.h View 1 2 3 4 5 6 7 11 chunks +26 lines, -23 lines 0 comments Download
M webkit/quota/quota_manager.cc View 1 2 3 4 5 6 7 38 chunks +124 lines, -129 lines 0 comments Download
M webkit/quota/quota_manager_unittest.cc View 1 2 3 4 5 6 7 9 chunks +54 lines, -46 lines 0 comments Download
M webkit/quota/quota_temporary_storage_evictor.h View 1 2 3 4 5 6 7 2 chunks +0 lines, -3 lines 0 comments Download
M webkit/quota/quota_temporary_storage_evictor.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -3 lines 0 comments Download
M webkit/quota/quota_temporary_storage_evictor_unittest.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -8 lines 0 comments Download
M webkit/quota/quota_types.h View 1 2 3 4 5 9 chunks +30 lines, -38 lines 0 comments Download
M webkit/quota/usage_tracker.h View 1 2 3 4 5 4 chunks +5 lines, -6 lines 0 comments Download
M webkit/quota/usage_tracker.cc View 1 2 3 4 5 17 chunks +31 lines, -29 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
tzik
Hi. I'm trying to replace callback_old.h with new callback.h in webkit/quota and related code. Could ...
9 years, 2 months ago (2011-09-29 02:32:33 UTC) #1
jam
content/browser/renderer_host lgtm, I defer to michaeln on the other files in content since he's in ...
9 years, 2 months ago (2011-09-29 16:36:27 UTC) #2
awong
Wow...big CL! Thanks for doing such a large chunk! I added a number of in-line ...
9 years, 2 months ago (2011-09-29 18:05:15 UTC) #3
awong
FYI, http://codereview.chromium.org/8073012/ is in the commit queue. After that's in, it will be possible to ...
9 years, 2 months ago (2011-09-30 07:37:55 UTC) #4
michaeln
lgtm... wow... big cl is right! can you also run this thru a valgrind trybot? ...
9 years, 2 months ago (2011-10-03 18:51:27 UTC) #5
michaeln
Also, given the size of the CL already, i think it may be preferable to ...
9 years, 2 months ago (2011-10-03 22:44:41 UTC) #6
awong
LGTM Agreed with Michael. Looks good to check in as is. For the other comments ...
9 years, 2 months ago (2011-10-03 23:40:16 UTC) #7
awong
gentle ping :) Anything I can do to help get this checked in? On 2011/10/03 ...
9 years, 2 months ago (2011-10-07 01:34:54 UTC) #8
kinuko
LGTM for the changes under quota/. +1 to run on this valgrind and +1 to ...
9 years, 2 months ago (2011-10-10 15:58:06 UTC) #9
tzik
Sorry for late submission, and thanks for your patience. Changes from previous my comment are: ...
9 years, 2 months ago (2011-10-11 04:53:57 UTC) #10
tzik
Valgrind blames a leak, but there is a leak without my change. I'll retry later.
9 years, 2 months ago (2011-10-11 08:24:19 UTC) #11
tzik
passed valgrind try. +estade Could you review chrome/browser/* of this CL?
9 years, 2 months ago (2011-10-12 05:20:47 UTC) #12
tzik
9 years, 2 months ago (2011-10-18 06:42:46 UTC) #13
This CL has some dependents and not lgtm'ed part of CL is trivial.
So, I'll commit it after tests passed.

If you mind, prevent me.

Powered by Google App Engine
This is Rietveld 408576698