Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / chromecast / browser / cast_quota_permission_context.h
blob2dc418616c719660cdbf642bb87a2143528bdf47
1 // Copyright 2015 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 CHROMECAST_BROWSER_CAST_QUOTA_PERMISSION_CONTEXT_H_
6 #define CHROMECAST_BROWSER_CAST_QUOTA_PERMISSION_CONTEXT_H_
8 #include "base/macros.h"
9 #include "content/public/browser/quota_permission_context.h"
11 namespace chromecast {
13 class CastQuotaPermissionContext : public content::QuotaPermissionContext {
14 public:
15 CastQuotaPermissionContext();
17 // content::QuotaPermissionContext implementation:
18 void RequestQuotaPermission(const content::StorageQuotaParams& params,
19 int render_process_id,
20 const PermissionCallback& callback) override;
22 private:
23 ~CastQuotaPermissionContext() override;
25 DISALLOW_COPY_AND_ASSIGN(CastQuotaPermissionContext);
28 } // namespace chromecast
30 #endif // CHROMECAST_BROWSER_CAST_QUOTA_PERMISSION_CONTEXT_H_