chore: rename atom -> electron (#21986)
This commit is contained in:
parent
f14fc4b041
commit
d9321f4df7
287 changed files with 1771 additions and 1708 deletions
22
shell/browser/electron_quota_permission_context.cc
Normal file
22
shell/browser/electron_quota_permission_context.cc
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Copyright (c) 2015 GitHub, Inc.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "shell/browser/electron_quota_permission_context.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace electron {
|
||||
|
||||
ElectronQuotaPermissionContext::ElectronQuotaPermissionContext() = default;
|
||||
|
||||
ElectronQuotaPermissionContext::~ElectronQuotaPermissionContext() = default;
|
||||
|
||||
void ElectronQuotaPermissionContext::RequestQuotaPermission(
|
||||
const content::StorageQuotaParams& params,
|
||||
int render_process_id,
|
||||
PermissionCallback callback) {
|
||||
std::move(callback).Run(response::QUOTA_PERMISSION_RESPONSE_ALLOW);
|
||||
}
|
||||
|
||||
} // namespace electron
|
Loading…
Add table
Add a link
Reference in a new issue