BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / chrome_quota_permission_context.h
blobfc558776014cea43e3f24421e0009bbde14a86b6
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_
6 #define CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_
8 #include "base/compiler_specific.h"
9 #include "content/public/browser/quota_permission_context.h"
10 #include "storage/common/quota/quota_types.h"
12 class ChromeQuotaPermissionContext : public content::QuotaPermissionContext {
13 public:
14 ChromeQuotaPermissionContext();
16 // The callback will be dispatched on the IO thread.
17 void RequestQuotaPermission(const content::StorageQuotaParams& params,
18 int render_process_id,
19 const PermissionCallback& callback) override;
21 void DispatchCallbackOnIOThread(
22 const PermissionCallback& callback,
23 QuotaPermissionResponse response);
25 private:
26 ~ChromeQuotaPermissionContext() override;
29 #endif // CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_