Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: content/shell/shell_quota_permission_context.cc

Issue 23316003: [content shell] move browser process stuff into browser/ subdir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/shell_quota_permission_context.cc
diff --git a/content/shell/shell_quota_permission_context.cc b/content/shell/shell_quota_permission_context.cc
deleted file mode 100644
index fe0df90f003e01f76571fd1bfd0a2ee8880feb89..0000000000000000000000000000000000000000
--- a/content/shell/shell_quota_permission_context.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/shell/shell_quota_permission_context.h"
-
-#include "webkit/common/quota/quota_types.h"
-
-namespace content {
-
-ShellQuotaPermissionContext::ShellQuotaPermissionContext() {}
-
-void ShellQuotaPermissionContext::RequestQuotaPermission(
- const GURL& origin_url,
- quota::StorageType type,
- int64 requested_quota,
- int render_process_id,
- int render_view_id,
- const PermissionCallback& callback) {
- if (type != quota::kStorageTypePersistent) {
- // For now we only support requesting quota with this interface
- // for Persistent storage type.
- callback.Run(QUOTA_PERMISSION_RESPONSE_DISALLOW);
- return;
- }
-
- callback.Run(QUOTA_PERMISSION_RESPONSE_ALLOW);
-}
-
-ShellQuotaPermissionContext::~ShellQuotaPermissionContext() {}
-
-} // namespace content
« no previous file with comments | « content/shell/shell_quota_permission_context.h ('k') | content/shell/shell_resource_dispatcher_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698