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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_
6 #define CONTENT_SHELL_BROWSER_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 "base/macros.h"
9 #include "content/public/browser/quota_permission_context.h" 10 #include "content/public/browser/quota_permission_context.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 class ShellQuotaPermissionContext : public QuotaPermissionContext { 14 class ShellQuotaPermissionContext : public QuotaPermissionContext {
14 public: 15 public:
15 ShellQuotaPermissionContext(); 16 ShellQuotaPermissionContext();
16 17
17 // The callback will be dispatched on the IO thread. 18 // The callback will be dispatched on the IO thread.
18 void RequestQuotaPermission(const StorageQuotaParams& params, 19 void RequestQuotaPermission(const StorageQuotaParams& params,
19 int render_process_id, 20 int render_process_id,
20 const PermissionCallback& callback) override; 21 const PermissionCallback& callback) override;
21 22
22 private: 23 private:
23 ~ShellQuotaPermissionContext() override; 24 ~ShellQuotaPermissionContext() override;
24 25
25 DISALLOW_COPY_AND_ASSIGN(ShellQuotaPermissionContext); 26 DISALLOW_COPY_AND_ASSIGN(ShellQuotaPermissionContext);
26 }; 27 };
27 28
28 } // namespace content 29 } // namespace content
29 30
30 #endif // CONTENT_SHELL_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_ 31 #endif // CONTENT_SHELL_BROWSER_SHELL_QUOTA_PERMISSION_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_plugin_service_filter.h ('k') | content/shell/browser/shell_resource_dispatcher_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698