026d6248786bd9cbc2292741eca2ec088ac6e790
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / browser / runtime_quota_permission_context.cc
1 // Copyright (c) 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.
4
5 #include "xwalk/runtime/browser/runtime_quota_permission_context.h"
6
7 #include "webkit/common/quota/quota_types.h"
8
9 namespace xwalk {
10
11 RuntimeQuotaPermissionContext::RuntimeQuotaPermissionContext() {}
12
13 void RuntimeQuotaPermissionContext::RequestQuotaPermission(
14     const GURL& origin_url,
15     quota::StorageType type,
16     int64 requested_quota,
17     int render_process_id,
18     int render_view_id,
19     const PermissionCallback& callback) {
20   // TODO(wang16): Handle request according to app's manifest declaration.
21   callback.Run(QUOTA_PERMISSION_RESPONSE_ALLOW);
22 }
23
24 RuntimeQuotaPermissionContext::~RuntimeQuotaPermissionContext() {}
25
26 }  // namespace xwalk