Index: content/shell/shell_quota_permission_context.h |
diff --git a/chrome/browser/chrome_quota_permission_context.h b/content/shell/shell_quota_permission_context.h |
similarity index 50% |
copy from chrome/browser/chrome_quota_permission_context.h |
copy to content/shell/shell_quota_permission_context.h |
index 895d4af39513fc9c0697d798b2a0a08fe4c0bf14..af7f62fbffe2010c6ec6b34d9163356cd55f61d9 100644 |
--- a/chrome/browser/chrome_quota_permission_context.h |
+++ b/content/shell/shell_quota_permission_context.h |
@@ -1,16 +1,18 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// 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. |
-#ifndef CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_ |
-#define CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_ |
+#ifndef CONTENT_SHELL_SHELL_QUOTA_PERMISSION_CONTEXT_H_ |
+#define CONTENT_SHELL_SHELL_QUOTA_PERMISSION_CONTEXT_H_ |
#include "base/compiler_specific.h" |
#include "content/public/browser/quota_permission_context.h" |
-class ChromeQuotaPermissionContext : public content::QuotaPermissionContext { |
+namespace content { |
+ |
+class ShellQuotaPermissionContext : public QuotaPermissionContext { |
public: |
- ChromeQuotaPermissionContext(); |
+ ShellQuotaPermissionContext(); |
// The callback will be dispatched on the IO thread. |
virtual void RequestQuotaPermission( |
@@ -21,12 +23,12 @@ class ChromeQuotaPermissionContext : public content::QuotaPermissionContext { |
int render_view_id, |
const PermissionCallback& callback) OVERRIDE; |
- void DispatchCallbackOnIOThread( |
- const PermissionCallback& callback, |
- QuotaPermissionResponse response); |
- |
private: |
- virtual ~ChromeQuotaPermissionContext(); |
+ virtual ~ShellQuotaPermissionContext(); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ShellQuotaPermissionContext); |
}; |
-#endif // CHROME_BROWSER_CHROME_QUOTA_PERMISSION_CONTEXT_H_ |
+} // namespace content |
+ |
+#endif // CONTENT_SHELL_SHELL_QUOTA_PERMISSION_CONTEXT_H_ |