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

Side by Side Diff: content/shell/browser/shell_quota_permission_context.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_SHELL_QUOTA_PERMISSION_CONTEXT_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_
6 #define CONTENT_SHELL_SHELL_QUOTA_PERMISSION_CONTEXT_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/public/browser/quota_permission_context.h" 9 #include "content/public/browser/quota_permission_context.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 class ShellQuotaPermissionContext : public QuotaPermissionContext { 13 class ShellQuotaPermissionContext : public QuotaPermissionContext {
14 public: 14 public:
15 ShellQuotaPermissionContext(); 15 ShellQuotaPermissionContext();
16 16
17 // The callback will be dispatched on the IO thread. 17 // The callback will be dispatched on the IO thread.
18 virtual void RequestQuotaPermission( 18 virtual void RequestQuotaPermission(
19 const GURL& origin_url, 19 const GURL& origin_url,
20 quota::StorageType type, 20 quota::StorageType type,
21 int64 new_quota, 21 int64 new_quota,
22 int render_process_id, 22 int render_process_id,
23 int render_view_id, 23 int render_view_id,
24 const PermissionCallback& callback) OVERRIDE; 24 const PermissionCallback& callback) OVERRIDE;
25 25
26 private: 26 private:
27 virtual ~ShellQuotaPermissionContext(); 27 virtual ~ShellQuotaPermissionContext();
28 28
29 DISALLOW_COPY_AND_ASSIGN(ShellQuotaPermissionContext); 29 DISALLOW_COPY_AND_ASSIGN(ShellQuotaPermissionContext);
30 }; 30 };
31 31
32 } // namespace content 32 } // namespace content
33 33
34 #endif // CONTENT_SHELL_SHELL_QUOTA_PERMISSION_CONTEXT_H_ 34 #endif // CONTENT_SHELL_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_plugin_service_filter.cc ('k') | content/shell/browser/shell_quota_permission_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698