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.
5 #include "xwalk/runtime/browser/runtime_quota_permission_context.h"
7 #include "storage/common/quota/quota_types.h"
11 RuntimeQuotaPermissionContext::RuntimeQuotaPermissionContext() {}
13 void RuntimeQuotaPermissionContext::RequestQuotaPermission(
14 const content::StorageQuotaParams& params,
15 int render_process_id,
16 const PermissionCallback& callback) {
17 // TODO(wang16): Handle request according to app's manifest declaration.
18 callback.Run(QUOTA_PERMISSION_RESPONSE_ALLOW);
21 RuntimeQuotaPermissionContext::~RuntimeQuotaPermissionContext() {}