Chromium Code Reviews| Index: content/browser/renderer_host/quota_dispatcher_host.h |
| diff --git a/content/browser/renderer_host/quota_dispatcher_host.h b/content/browser/renderer_host/quota_dispatcher_host.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c707f3b33eeb62e8a0c49f3d5170ca18fadd2662 |
| --- /dev/null |
| +++ b/content/browser/renderer_host/quota_dispatcher_host.h |
| @@ -0,0 +1,35 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_ |
| +#define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "content/browser/browser_message_filter.h" |
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h" |
| + |
| +class GURL; |
| + |
| +namespace IPC { |
| +class Message; |
| +} |
| + |
| +class QuotaDispatcherHost : public BrowserMessageFilter { |
| + public: |
| + ~QuotaDispatcherHost(); |
| + bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok); |
| + |
| + private: |
| + void OnQueryUsageAndQuota( |
| + int request_id, |
| + const GURL& gurl, |
|
michaeln
2011/04/07 20:57:31
'origin' may be a better param name
ericu
2011/04/08 03:31:18
+1
kinuko
2011/04/08 09:02:53
Done.
|
| + WebKit::WebStorageQuotaType type); |
| + void OnRequestStorageQuota( |
| + int request_id, |
| + const GURL& gurl, |
| + WebKit::WebStorageQuotaType type, |
| + int requested_size); |
| +}; |
| + |
| +#endif // CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_ |