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

Unified Diff: content/browser/quota_permission_context.h

Issue 9566035: Move QuotaPermissionContext to content/public/browser and put it in the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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/browser/quota_permission_context.h
diff --git a/content/browser/quota_permission_context.h b/content/browser/quota_permission_context.h
deleted file mode 100644
index ab441d43f85a6e5c91b367a1ed6c5ed8d1674256..0000000000000000000000000000000000000000
--- a/content/browser/quota_permission_context.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2011 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.
-
-#ifndef CONTENT_BROWSER_QUOTA_PERMISSION_CONTEXT_H_
-#define CONTENT_BROWSER_QUOTA_PERMISSION_CONTEXT_H_
-
-#include "base/callback.h"
-#include "base/memory/ref_counted.h"
-#include "webkit/quota/quota_types.h"
-
-class GURL;
-
-class QuotaPermissionContext
- : public base::RefCountedThreadSafe<QuotaPermissionContext> {
- public:
- enum Response {
- kResponseUnknown,
- kResponseAllow,
- kResponseDisallow,
- kResponseCancelled,
- };
-
- typedef base::Callback<void(Response)> PermissionCallback;
-
- virtual void RequestQuotaPermission(
- const GURL& origin_url,
- quota::StorageType type,
- int64 new_quota,
- int render_process_id,
- int render_view_id,
- const PermissionCallback& callback) = 0;
-
- protected:
- friend class base::RefCountedThreadSafe<QuotaPermissionContext>;
- virtual ~QuotaPermissionContext() {}
-};
-
-#endif // CONTENT_BROWSER_QUOTA_PERMISSION_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698