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

Unified Diff: content/public/browser/local_storage_usage_info.h

Issue 22297005: Move webkit/{browser,common}/dom_storage into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/dom_storage_context.h ('k') | content/public/browser/local_storage_usage_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/local_storage_usage_info.h
diff --git a/content/public/browser/local_storage_usage_info.h b/content/public/browser/local_storage_usage_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..8048c6c6b77c98da707753ad86da59ec5fa5aa0d
--- /dev/null
+++ b/content/public/browser/local_storage_usage_info.h
@@ -0,0 +1,26 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
+#define CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
+
+#include "base/time/time.h"
+#include "content/common/content_export.h"
+#include "url/gurl.h"
+
+namespace content {
+
+// Used to report Local Storage usage info by DOMStorageContext.
+struct CONTENT_EXPORT LocalStorageUsageInfo {
+ GURL origin;
+ size_t data_size;
+ base::Time last_modified;
+
+ LocalStorageUsageInfo();
+ ~LocalStorageUsageInfo();
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
« no previous file with comments | « content/public/browser/dom_storage_context.h ('k') | content/public/browser/local_storage_usage_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698