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

Side by Side Diff: content/public/common/storage_quota_params.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PUBLIC_COMMON_STORAGE_QUOTA_PARAMS_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_STORAGE_QUOTA_PARAMS_H_
6 #define CONTENT_PUBLIC_COMMON_STORAGE_QUOTA_PARAMS_H_ 6 #define CONTENT_PUBLIC_COMMON_STORAGE_QUOTA_PARAMS_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 #include "webkit/common/quota/quota_types.h" 11 #include "storage/common/quota/quota_types.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 // Parameters from the renderer to the browser process on a 15 // Parameters from the renderer to the browser process on a
16 // RequestStorageQuota call. 16 // RequestStorageQuota call.
17 struct CONTENT_EXPORT StorageQuotaParams { 17 struct CONTENT_EXPORT StorageQuotaParams {
18 StorageQuotaParams() 18 StorageQuotaParams()
19 : render_view_id(MSG_ROUTING_NONE), 19 : render_view_id(MSG_ROUTING_NONE),
20 request_id(-1), 20 request_id(-1),
21 storage_type(quota::kStorageTypeTemporary), 21 storage_type(quota::kStorageTypeTemporary),
22 requested_size(0), 22 requested_size(0),
23 user_gesture(false) {} 23 user_gesture(false) {}
24 24
25 int render_view_id; 25 int render_view_id;
26 int request_id; 26 int request_id;
27 GURL origin_url; 27 GURL origin_url;
28 quota::StorageType storage_type; 28 quota::StorageType storage_type;
29 uint64 requested_size; 29 uint64 requested_size;
30 30
31 // Request was made in the context of a user gesture. 31 // Request was made in the context of a user gesture.
32 bool user_gesture; 32 bool user_gesture;
33 }; 33 };
34 34
35 } // namespace content 35 } // namespace content
36 36
37 #endif // CONTENT_PUBLIC_COMMON_STORAGE_QUOTA_PARAMS_H_ 37 #endif // CONTENT_PUBLIC_COMMON_STORAGE_QUOTA_PARAMS_H_
OLDNEW
« no previous file with comments | « content/public/browser/storage_partition.h ('k') | content/public/test/async_file_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698