Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / shell / browser / shell_quota_permission_context.h
blob3a93e4ca906f6435333d0a457b08186d818ba9f9
1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_
8 #include "base/compiler_specific.h"
9 #include "content/public/browser/quota_permission_context.h"
11 namespace content {
13 class ShellQuotaPermissionContext : public QuotaPermissionContext {
14 public:
15 ShellQuotaPermissionContext();
17 // The callback will be dispatched on the IO thread.
18 virtual void RequestQuotaPermission(
19 const StorageQuotaParams& params,
20 int render_process_id,
21 const PermissionCallback& callback) OVERRIDE;
23 private:
24 virtual ~ShellQuotaPermissionContext();
26 DISALLOW_COPY_AND_ASSIGN(ShellQuotaPermissionContext);
29 } // namespace content
31 #endif // CONTENT_SHELL_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_