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

Side by Side Diff: content/browser/indexed_db/indexed_db_metadata.cc

Issue 15564008: Migrate the IndexedDB backend from Blink to Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Coding style fixes Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 #include "content/browser/indexed_db/indexed_db_metadata.h"
6
7 namespace content {
8
9 IndexedDBObjectStoreMetadata::IndexedDBObjectStoreMetadata(
10 const string16& name,
11 int64_t id,
12 const IndexedDBKeyPath& key_path,
13 bool auto_increment,
14 int64_t max_index_id)
15 : name(name),
16 id(id),
17 key_path(key_path),
18 auto_increment(auto_increment),
19 max_index_id(max_index_id) {}
20
21 IndexedDBObjectStoreMetadata::IndexedDBObjectStoreMetadata() {}
22 IndexedDBObjectStoreMetadata::~IndexedDBObjectStoreMetadata() {}
23
24 IndexedDBDatabaseMetadata::IndexedDBDatabaseMetadata()
25 : int_version(NO_INT_VERSION) {}
26 IndexedDBDatabaseMetadata::IndexedDBDatabaseMetadata(
27 const string16& name,
28 int64_t id,
29 const string16& version,
30 int64_t int_version,
31 int64_t max_object_store_id)
32 : name(name),
33 id(id),
34 version(version),
35 int_version(int_version),
36 max_object_store_id(max_object_store_id) {}
37
38 IndexedDBDatabaseMetadata::~IndexedDBDatabaseMetadata() {}
39 }
jamesr 2013/05/22 18:59:44 // namespace content
jsbell 2013/05/22 22:21:14 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698