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

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

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 #include "storage/common/quota/quota_types.h" 10 #include "storage/common/quota/quota_types.h"
11 11
12 class ChromeQuotaPermissionContext : public content::QuotaPermissionContext { 12 class ChromeQuotaPermissionContext : public content::QuotaPermissionContext {
13 public: 13 public:
14 ChromeQuotaPermissionContext(); 14 ChromeQuotaPermissionContext();
15 15
16 // The callback will be dispatched on the IO thread. 16 // The callback will be dispatched on the IO thread.
17 virtual void RequestQuotaPermission( 17 void RequestQuotaPermission(const content::StorageQuotaParams& params,
18 const content::StorageQuotaParams& params, 18 int render_process_id,
19 int render_process_id, 19 const PermissionCallback& callback) override;
20 const PermissionCallback& callback) override;
21 20
22 void DispatchCallbackOnIOThread( 21 void DispatchCallbackOnIOThread(
23 const PermissionCallback& callback, 22 const PermissionCallback& callback,
24 QuotaPermissionResponse response); 23 QuotaPermissionResponse response);
25 24
26 private: 25 private:
27 virtual ~ChromeQuotaPermissionContext(); 26 ~ChromeQuotaPermissionContext() override;
28 }; 27 };
29 28
30 #endif // CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_ 29 #endif // CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_net_benchmarking_message_filter.h ('k') | chrome/browser/chrome_quota_permission_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698