• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
IndexedDBObjectStoreMetadata(const base::string16 & name,int64 id,const IndexedDBKeyPath & key_path,bool auto_increment,int64 max_index_id)9 IndexedDBObjectStoreMetadata::IndexedDBObjectStoreMetadata(
10     const base::string16& name,
11     int64 id,
12     const IndexedDBKeyPath& key_path,
13     bool auto_increment,
14     int64 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 
IndexedDBObjectStoreMetadata()21 IndexedDBObjectStoreMetadata::IndexedDBObjectStoreMetadata() {}
~IndexedDBObjectStoreMetadata()22 IndexedDBObjectStoreMetadata::~IndexedDBObjectStoreMetadata() {}
23 
IndexedDBDatabaseMetadata()24 IndexedDBDatabaseMetadata::IndexedDBDatabaseMetadata()
25     : int_version(NO_INT_VERSION) {}
IndexedDBDatabaseMetadata(const base::string16 & name,int64 id,const base::string16 & version,int64 int_version,int64 max_object_store_id)26 IndexedDBDatabaseMetadata::IndexedDBDatabaseMetadata(
27     const base::string16& name,
28     int64 id,
29     const base::string16& version,
30     int64 int_version,
31     int64 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 
~IndexedDBDatabaseMetadata()38 IndexedDBDatabaseMetadata::~IndexedDBDatabaseMetadata() {}
39 
40 }  // namespace content
41