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

Issue 6811022: Add IPC plumbing code for Quota API (Closed)

Created:
9 years, 8 months ago by kinuko
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Dai Mikurube (NOT FULLTIME)
Visibility:
Public.

Description

Add IPC plumbing code for Quota API BUG=61676 TEST=No new tests; just IPC plumbing (manually tested) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81364

Patch Set 1 : '' #

Total comments: 11

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : fixed OnQueryUsageAndQuota -> OnStorageQueryUsageAndQuota #

Patch Set 4 : rebased #

Total comments: 2

Patch Set 5 : comments reflected #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -0 lines) Patch
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/renderer_host/quota_dispatcher_host.h View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A content/browser/renderer_host/quota_dispatcher_host.cc View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
M content/common/child_thread.h View 3 chunks +7 lines, -0 lines 0 comments Download
M content/common/child_thread.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A content/common/quota_dispatcher.h View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
A content/common/quota_dispatcher.cc View 1 2 3 4 1 chunk +90 lines, -0 lines 0 comments Download
A content/common/quota_dispatcher_dummy.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A content/common/quota_messages.h View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M content/renderer/render_view.cc View 1 2 3 4 chunks +36 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kinuko
9 years, 8 months ago (2011-04-07 13:54:27 UTC) #1
jam
is this only used in renderer processes (i.e. not in workers)? If so, then the ...
9 years, 8 months ago (2011-04-07 16:58:29 UTC) #2
michaeln
lgtm I have the same question about whether the quota APIs should be accessible via ...
9 years, 8 months ago (2011-04-07 20:57:31 UTC) #3
ericu
I don't see any reason that this should be restricted to renderers. http://codereview.chromium.org/6811022/diff/17/content/browser/renderer_host/quota_dispatcher_host.h File content/browser/renderer_host/quota_dispatcher_host.h ...
9 years, 8 months ago (2011-04-08 03:31:18 UTC) #4
kinuko
Thanks for reviewing, In the current implementation it'll be only called by the renderer but ...
9 years, 8 months ago (2011-04-08 09:02:53 UTC) #5
ericu
LGTM with one nit. http://codereview.chromium.org/6811022/diff/7002/content/browser/renderer_host/quota_dispatcher_host.cc File content/browser/renderer_host/quota_dispatcher_host.cc (right): http://codereview.chromium.org/6811022/diff/7002/content/browser/renderer_host/quota_dispatcher_host.cc#newcode27 content/browser/renderer_host/quota_dispatcher_host.cc:27: void QuotaDispatcherHost::OnQueryUsageAndQuota( OnQueryUsageAndQuota is now ...
9 years, 8 months ago (2011-04-09 02:22:33 UTC) #6
kinuko
@jam could you take a look at the patch again? There's a plan to support ...
9 years, 8 months ago (2011-04-11 06:32:57 UTC) #7
kinuko
Adding more content owners. Could someone take a look at the patch?
9 years, 8 months ago (2011-04-12 01:49:33 UTC) #8
darin (slow to review)
LGTM
9 years, 8 months ago (2011-04-12 17:41:50 UTC) #9
jam
9 years, 8 months ago (2011-04-12 17:53:52 UTC) #10
lgtm

http://codereview.chromium.org/6811022/diff/11036/content/browser/renderer_ho...
File content/browser/renderer_host/quota_dispatcher_host.h (right):

http://codereview.chromium.org/6811022/diff/11036/content/browser/renderer_ho...
content/browser/renderer_host/quota_dispatcher_host.h:15: class Message;
not needed

http://codereview.chromium.org/6811022/diff/11036/content/common/quota_dispat...
File content/common/quota_dispatcher.cc (right):

http://codereview.chromium.org/6811022/diff/11036/content/common/quota_dispat...
content/common/quota_dispatcher.cc:10: #include "ipc/ipc_message.h"
nit: this isn't needed

Powered by Google App Engine
This is Rietveld 408576698