This source file includes following definitions.
- RequestQuotaPermission
#include "content/shell/browser/shell_quota_permission_context.h"
#include "webkit/common/quota/quota_types.h"
namespace content {
ShellQuotaPermissionContext::ShellQuotaPermissionContext() {}
void ShellQuotaPermissionContext::RequestQuotaPermission(
const StorageQuotaParams& params,
int render_process_id,
const PermissionCallback& callback) {
if (params.storage_type != quota::kStorageTypePersistent) {
callback.Run(QUOTA_PERMISSION_RESPONSE_DISALLOW);
return;
}
callback.Run(QUOTA_PERMISSION_RESPONSE_ALLOW);
}
ShellQuotaPermissionContext::~ShellQuotaPermissionContext() {}
}