OLD | NEW |
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_PUBLIC_BROWSER_INDEXED_DB_INFO_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_INDEXED_DB_INFO_H_ |
6 #define CONTENT_PUBLIC_BROWSER_INDEXED_DB_INFO_H_ | 6 #define CONTENT_PUBLIC_BROWSER_INDEXED_DB_INFO_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 class CONTENT_EXPORT IndexedDBInfo { | 15 class CONTENT_EXPORT IndexedDBInfo { |
16 public: | 16 public: |
17 IndexedDBInfo(const GURL& origin, | 17 IndexedDBInfo(const GURL& origin, |
18 int64 size, | 18 int64 size, |
19 const base::Time& last_modified, | 19 const base::Time& last_modified, |
20 size_t connection_count); | 20 size_t connection_count); |
| 21 IndexedDBInfo(const IndexedDBInfo& other); |
| 22 ~IndexedDBInfo(); |
| 23 IndexedDBInfo& operator=(const IndexedDBInfo& other); |
21 | 24 |
22 GURL origin_; | 25 GURL origin_; |
23 int64 size_; | 26 int64 size_; |
24 base::Time last_modified_; | 27 base::Time last_modified_; |
25 size_t connection_count_; | 28 size_t connection_count_; |
26 }; | 29 }; |
27 | 30 |
28 } // namespace content | 31 } // namespace content |
29 | 32 |
30 #endif // CONTENT_PUBLIC_BROWSER_INDEXED_DB_INFO_H_ | 33 #endif // CONTENT_PUBLIC_BROWSER_INDEXED_DB_INFO_H_ |
OLD | NEW |