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

Unified Diff: content/browser/dom_storage/local_storage_database.proto

Issue 2604963002: Store per-origin metadata for localstorage. (Closed)
Patch Set: remove duplicate include line Created 4 years 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
Index: content/browser/dom_storage/local_storage_database.proto
diff --git a/content/browser/dom_storage/local_storage_database.proto b/content/browser/dom_storage/local_storage_database.proto
new file mode 100644
index 0000000000000000000000000000000000000000..057308dbc292c54ab6a2f1c95ca521c9cc49eba9
--- /dev/null
+++ b/content/browser/dom_storage/local_storage_database.proto
@@ -0,0 +1,15 @@
+// Copyright 2016 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.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package content;
+
+message LocalStorageOriginMetaData {
+ // Serialized by base::Time::ToInternalValue().
+ required int64 last_modified = 1;
+ required uint64 size_bytes = 2;
+}
« no previous file with comments | « content/browser/dom_storage/local_storage_context_mojo_unittest.cc ('k') | content/browser/leveldb_wrapper_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698