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

Unified Diff: content/common/indexed_db/indexed_db_key.h

Issue 136853003: Explicitly implement copy ctor/assignment operator for IndexedDBKey (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually run and pass tests Created 6 years, 11 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 | « no previous file | content/common/indexed_db/indexed_db_key.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/indexed_db_key.h
diff --git a/content/common/indexed_db/indexed_db_key.h b/content/common/indexed_db/indexed_db_key.h
index 391b6d63fc6ca5bf9ffebe692e7223082e6dc03d..3060f240a649adba12c6c467d71fb3741350c889 100644
--- a/content/common/indexed_db/indexed_db_key.h
+++ b/content/common/indexed_db/indexed_db_key.h
@@ -24,6 +24,9 @@ class CONTENT_EXPORT IndexedDBKey {
typedef std::vector<IndexedDBKey> KeyArray;
IndexedDBKey(); // Defaults to blink::WebIDBKeyTypeInvalid.
+ IndexedDBKey(const IndexedDBKey& other);
+ IndexedDBKey& operator=(const IndexedDBKey& other);
+
IndexedDBKey(blink::WebIDBKeyType); // must be Null or Invalid
explicit IndexedDBKey(const KeyArray& array);
explicit IndexedDBKey(const std::string& binary);
« no previous file with comments | « no previous file | content/common/indexed_db/indexed_db_key.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698