OLD | NEW |
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_BROWSER_INDEXED_DB_INDEXED_DB_VALUE_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_VALUE_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_VALUE_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_VALUE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <algorithm> | 10 #include <algorithm> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "content/browser/indexed_db/indexed_db_blob_info.h" | 14 #include "content/browser/indexed_db/indexed_db_blob_info.h" |
13 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
14 | 16 |
15 namespace content { | 17 namespace content { |
16 | 18 |
17 struct CONTENT_EXPORT IndexedDBValue { | 19 struct CONTENT_EXPORT IndexedDBValue { |
(...skipping 19 matching lines...) Expand all Loading... |
37 return bits.size() + blob_info.size() * sizeof(IndexedDBBlobInfo); | 39 return bits.size() + blob_info.size() * sizeof(IndexedDBBlobInfo); |
38 } | 40 } |
39 | 41 |
40 std::string bits; | 42 std::string bits; |
41 std::vector<IndexedDBBlobInfo> blob_info; | 43 std::vector<IndexedDBBlobInfo> blob_info; |
42 }; | 44 }; |
43 | 45 |
44 } // namespace content | 46 } // namespace content |
45 | 47 |
46 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_VALUE_H_ | 48 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_VALUE_H_ |
OLD | NEW |