[Mac] Implement Ambient Light API
[chromium-blink-merge.git] / content / browser / indexed_db / indexed_db_metadata.cc
blob47b7219f15bd5d8f306b6cfe02edd3b266fb393d
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.
5 #include "content/browser/indexed_db/indexed_db_metadata.h"
7 namespace content {
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) {}
21 IndexedDBObjectStoreMetadata::IndexedDBObjectStoreMetadata() {}
22 IndexedDBObjectStoreMetadata::~IndexedDBObjectStoreMetadata() {}
24 IndexedDBDatabaseMetadata::IndexedDBDatabaseMetadata()
25 : int_version(NO_INT_VERSION) {}
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) {}
38 IndexedDBDatabaseMetadata::~IndexedDBDatabaseMetadata() {}
40 } // namespace content