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

Side by Side Diff: content/common/web_quota_dispatcher_callback.h

Issue 7438001: Cleanup: Make quota dispatcher code independent from WebKit types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 5 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 | « content/common/quota_messages.h ('k') | content/common/web_quota_dispatcher_callback.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_COMMON_WEB_QUOTA_DISPATCHER_CALLBACK_H_
6 #define CONTENT_COMMON_WEB_QUOTA_DISPATCHER_CALLBACK_H_
7
8 #include "content/common/quota_dispatcher.h"
9
10 namespace WebKit {
11 class WebStorageQuotaCallbacks;
12 }
13
14 // QuotaDispatcherCallback implementation for WebStorageQuotaCallbacks.
15 class WebQuotaDispatcherCallback : public QuotaDispatcher::Callback {
michaeln 2011/07/19 20:27:36 This class name confused me a bit. I've come to ex
16 public:
17 WebQuotaDispatcherCallback(WebKit::WebStorageQuotaCallbacks* callbacks);
18 virtual ~WebQuotaDispatcherCallback();
19
20 virtual void DidQueryStorageUsageAndQuota(int64 usage, int64 quota) OVERRIDE;
21 virtual void DidGrantStorageQuota(int64 granted_quota) OVERRIDE;
22 virtual void DidFail(quota::QuotaStatusCode error) OVERRIDE;
23
24 private:
25 // Not owned (self-destructed).
26 WebKit::WebStorageQuotaCallbacks* callbacks_;
27 };
28
29 #endif // CONTENT_COMMON_WEB_QUOTA_DISPATCHER_CALLBACK_H_
OLDNEW
« no previous file with comments | « content/common/quota_messages.h ('k') | content/common/web_quota_dispatcher_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698