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

Unified Diff: content/browser/indexed_db/indexed_db_data_format_version.cc

Issue 2773823002: Use a two-part data format version in IndexedDB metadata. (Closed)
Patch Set: static Created 3 years, 8 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
Index: content/browser/indexed_db/indexed_db_data_format_version.cc
diff --git a/content/browser/indexed_db/indexed_db_data_format_version.cc b/content/browser/indexed_db/indexed_db_data_format_version.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b8a363cea5a842e5fef824103704e14158845297
--- /dev/null
+++ b/content/browser/indexed_db/indexed_db_data_format_version.cc
@@ -0,0 +1,16 @@
+// Copyright 2017 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.
+
+#include "content/browser/indexed_db/indexed_db_data_format_version.h"
+
+#include "third_party/WebKit/public/web/WebSerializedScriptValueVersion.h"
+
+namespace content {
+
+// static
+IndexedDBDataFormatVersion IndexedDBDataFormatVersion::current_(
+ 0,
+ blink::kSerializedScriptValueVersion);
dcheng 2017/04/06 21:14:19 Is there a guarantee that this will avoid runtime
jbroman 2017/04/06 21:26:25 The type has a constexpr constructor, so it's cert
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698