Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / public / browser / local_storage_usage_info.h
blob8048c6c6b77c98da707753ad86da59ec5fa5aa0d
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
6 #define CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
8 #include "base/time/time.h"
9 #include "content/common/content_export.h"
10 #include "url/gurl.h"
12 namespace content {
14 // Used to report Local Storage usage info by DOMStorageContext.
15 struct CONTENT_EXPORT LocalStorageUsageInfo {
16 GURL origin;
17 size_t data_size;
18 base::Time last_modified;
20 LocalStorageUsageInfo();
21 ~LocalStorageUsageInfo();
24 } // namespace content
26 #endif // CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_