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

Side by Side Diff: content/common/indexed_db/indexed_db.mojom

Issue 2517343002: Make indexed_db.mojom.BlobInfo.size a signed integer. (Closed)
Patch Set: Remove static cast in indexed_db_backing_store.cc:739. Created 4 years 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
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // TODO: This will move to //third_party/WebKit when //content/child/indexed_db 5 // TODO: This will move to //third_party/WebKit when //content/child/indexed_db
6 // is deleted but for now this will depend on //content/common types and so 6 // is deleted but for now this will depend on //content/common types and so
7 // so belongs here. 7 // so belongs here.
8 8
9 module indexed_db.mojom; 9 module indexed_db.mojom;
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 struct FileInfo { 68 struct FileInfo {
69 mojo.common.mojom.FilePath path; 69 mojo.common.mojom.FilePath path;
70 mojo.common.mojom.String16 name; 70 mojo.common.mojom.String16 name;
71 mojo.common.mojom.Time last_modified; 71 mojo.common.mojom.Time last_modified;
72 }; 72 };
73 73
74 struct BlobInfo { 74 struct BlobInfo {
75 string uuid; 75 string uuid;
76 mojo.common.mojom.String16 mime_type; 76 mojo.common.mojom.String16 mime_type;
77 uint64 size; 77 int64 size;
78 FileInfo? file; 78 FileInfo? file;
79 }; 79 };
80 80
81 struct Value { 81 struct Value {
82 string bits; 82 string bits;
83 array<BlobInfo> blob_or_file_info; 83 array<BlobInfo> blob_or_file_info;
84 }; 84 };
85 85
86 struct ReturnValue { 86 struct ReturnValue {
87 Value value; 87 Value value;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 }; 231 };
232 232
233 interface Factory { 233 interface Factory {
234 GetDatabaseNames(associated Callbacks callbacks, url.mojom.Origin origin); 234 GetDatabaseNames(associated Callbacks callbacks, url.mojom.Origin origin);
235 Open(int32 worker_thread, associated Callbacks callbacks, 235 Open(int32 worker_thread, associated Callbacks callbacks,
236 associated DatabaseCallbacks database_callbacks, url.mojom.Origin origin, 236 associated DatabaseCallbacks database_callbacks, url.mojom.Origin origin,
237 mojo.common.mojom.String16 name, int64 version, int64 transaction_id); 237 mojo.common.mojom.String16 name, int64 version, int64 transaction_id);
238 DeleteDatabase(associated Callbacks callbacks, url.mojom.Origin origin, 238 DeleteDatabase(associated Callbacks callbacks, url.mojom.Origin origin,
239 mojo.common.mojom.String16 name); 239 mojo.common.mojom.String16 name);
240 }; 240 };
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698