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

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: '' 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
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 namespace IPC {
15 class Message;
16 }
17
18 class QuotaDispatcherHost : public BrowserMessageFilter {
19 public:
20 ~QuotaDispatcherHost();
21 bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok);
22
23 private:
24 void OnQueryUsageAndQuota(
25 int request_id,
26 const GURL& origin_url,
27 WebKit::WebStorageQuotaType type);
28 void OnRequestStorageQuota(
29 int request_id,
30 const GURL& origin_url,
31 WebKit::WebStorageQuotaType type,
32 int requested_size);
33 };
34
35 #endif // CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698