Home | History | Annotate | Download | only in browser
      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 content::StorageQuotaParams& params,
     19       int render_process_id,
     20       const PermissionCallback& callback) OVERRIDE;
     21 
     22  private:
     23   virtual ~AwQuotaPermissionContext();
     24 
     25   DISALLOW_COPY_AND_ASSIGN(AwQuotaPermissionContext);
     26 };
     27 
     28 }  // namespace android_webview
     29 
     30 #endif  // ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_
     31 
     32