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

Side by Side Diff: content/public/browser/quota_permission_context.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_
6 #define CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ 6 #define CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/public/common/storage_quota_params.h" 10 #include "content/public/common/storage_quota_params.h"
11 #include "webkit/common/quota/quota_types.h" 11 #include "storage/common/quota/quota_types.h"
12 12
13 class GURL; 13 class GURL;
14 14
15 namespace content { 15 namespace content {
16 16
17 class QuotaPermissionContext 17 class QuotaPermissionContext
18 : public base::RefCountedThreadSafe<QuotaPermissionContext> { 18 : public base::RefCountedThreadSafe<QuotaPermissionContext> {
19 public: 19 public:
20 enum QuotaPermissionResponse { 20 enum QuotaPermissionResponse {
21 QUOTA_PERMISSION_RESPONSE_UNKNOWN, 21 QUOTA_PERMISSION_RESPONSE_UNKNOWN,
(...skipping 10 matching lines...) Expand all
32 const PermissionCallback& callback) = 0; 32 const PermissionCallback& callback) = 0;
33 33
34 protected: 34 protected:
35 friend class base::RefCountedThreadSafe<QuotaPermissionContext>; 35 friend class base::RefCountedThreadSafe<QuotaPermissionContext>;
36 virtual ~QuotaPermissionContext() {} 36 virtual ~QuotaPermissionContext() {}
37 }; 37 };
38 38
39 } // namespace content 39 } // namespace content
40 40
41 #endif // CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ 41 #endif // CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/storage_partition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698