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

Side by Side Diff: content/public/browser/cache_storage_usage_info.h

Issue 1297093002: Cache Storage API: Hook up to chrome://settings/cookies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto https://codereview.chromium.org/1297023004 Created 5 years, 4 months 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
OLDNEW
(Empty)
1 // Copyright 2015 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_CACHE_STORAGE_USAGE_INFO_H_
6 #define CONTENT_PUBLIC_BROWSER_CACHE_STORAGE_USAGE_INFO_H_
7
8 #include "base/time/time.h"
9 #include "content/common/content_export.h"
10 #include "url/gurl.h"
11
12 namespace content {
13
14 // Used to report per-origin storage info for Cache Storage API usage.
15 struct CONTENT_EXPORT CacheStorageUsageInfo {
16 CacheStorageUsageInfo(const GURL& origin,
17 int64 total_size_bytes,
18 const base::Time& last_modified)
19 : origin(origin),
20 total_size_bytes(total_size_bytes),
21 last_modified(last_modified) {}
22
23 // The origin this object is describing.
24 GURL origin;
25
26 // The total size, including resources, in bytes.
27 int64 total_size_bytes;
28
29 // Last modification time of the data for this origin.
30 base::Time last_modified;
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_PUBLIC_BROWSER_CACHE_STORAGE_USAGE_INFO_H_
OLDNEW
« no previous file with comments | « content/public/browser/cache_storage_context.h ('k') | content/public/browser/storage_partition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698