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

Side by Side Diff: content/browser/renderer_host/quota_dispatcher_host.h

Issue 6811022: Add IPC plumbing code for Quota API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments reflected Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_common.gypi ('k') | content/browser/renderer_host/quota_dispatcher_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_
7
8 #include "base/basictypes.h"
9 #include "content/browser/browser_message_filter.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h "
11
12 class GURL;
13
14 class QuotaDispatcherHost : public BrowserMessageFilter {
15 public:
16 ~QuotaDispatcherHost();
17 bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok);
18
19 private:
20 void OnQueryStorageUsageAndQuota(
21 int request_id,
22 const GURL& origin_url,
23 WebKit::WebStorageQuotaType type);
24 void OnRequestStorageQuota(
25 int request_id,
26 const GURL& origin_url,
27 WebKit::WebStorageQuotaType type,
28 int64 requested_size);
29 };
30
31 #endif // CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | content/browser/renderer_host/quota_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698