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. 4 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_ 7 8 #include "base/compiler_specific.h" 9 #include "content/public/browser/quota_permission_context.h" 10 11 namespace android_webview { 12 13 class AwQuotaPermissionContext : public content::QuotaPermissionContext { 14 public: 15 AwQuotaPermissionContext(); 16 17 virtual void RequestQuotaPermission( 18 const GURL& origin_url, 19 quota::StorageType type, 20 int64 new_quota, 21 int render_process_id, 22 int render_view_id, 23 const PermissionCallback& callback) OVERRIDE; 24 25 private: 26 virtual ~AwQuotaPermissionContext(); 27 28 DISALLOW_COPY_AND_ASSIGN(AwQuotaPermissionContext); 29 }; 30 31 } // namespace android_webview 32 33 #endif // ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_ 34 35