local_storage_usage_info.h revision bb1529ce867d8845a77ec7cdf3e3003ef1771a40
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.
4
5#ifndef CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
6#define CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
7
8#include "base/time/time.h"
9#include "content/common/content_export.h"
10#include "url/gurl.h"
11
12namespace content {
13
14// Used to report Local Storage usage info by DOMStorageContext.
15struct CONTENT_EXPORT LocalStorageUsageInfo {
16  GURL origin;
17  size_t data_size;
18  base::Time last_modified;
19
20  LocalStorageUsageInfo();
21  ~LocalStorageUsageInfo();
22};
23
24}  // namespace content
25
26#endif  // CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
27