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

Side by Side Diff: chrome/browser/chrome_quota_permission_context.h

Issue 10071036: RefCounted types should not have public destructors, chrome/browser/ part 6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation fixes Created 8 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
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 CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_ 5 #ifndef CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_
6 #define CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_ 6 #define CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/public/browser/quota_permission_context.h" 9 #include "content/public/browser/quota_permission_context.h"
10 10
11 class ChromeQuotaPermissionContext : public content::QuotaPermissionContext { 11 class ChromeQuotaPermissionContext : public content::QuotaPermissionContext {
12 public: 12 public:
13 ChromeQuotaPermissionContext(); 13 ChromeQuotaPermissionContext();
14 virtual ~ChromeQuotaPermissionContext();
15 14
16 // The callback will be dispatched on the IO thread. 15 // The callback will be dispatched on the IO thread.
17 virtual void RequestQuotaPermission( 16 virtual void RequestQuotaPermission(
18 const GURL& origin_url, 17 const GURL& origin_url,
19 quota::StorageType type, 18 quota::StorageType type,
20 int64 new_quota, 19 int64 new_quota,
21 int render_process_id, 20 int render_process_id,
22 int render_view_id, 21 int render_view_id,
23 const PermissionCallback& callback) OVERRIDE; 22 const PermissionCallback& callback) OVERRIDE;
24 23
25 void DispatchCallbackOnIOThread( 24 void DispatchCallbackOnIOThread(
26 const PermissionCallback& callback, 25 const PermissionCallback& callback,
27 QuotaPermissionResponse response); 26 QuotaPermissionResponse response);
27
28 private:
29 virtual ~ChromeQuotaPermissionContext();
28 }; 30 };
29 31
30 #endif // CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_ 32 #endif // CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/browser/chrome_quota_permission_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698