blob: ff05a779392a23568275cacddcb6c843f952a490 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright 2015 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_database_error.h"
namespace content {
IndexedDBDatabaseError::IndexedDBDatabaseError(uint16 code) : code_(code) {
}
IndexedDBDatabaseError::IndexedDBDatabaseError() = default;
IndexedDBDatabaseError::IndexedDBDatabaseError(uint16 code, const char* message)
: code_(code), message_(base::ASCIIToUTF16(message)) {
}
IndexedDBDatabaseError::IndexedDBDatabaseError(uint16 code,
const base::string16& message)
: code_(code), message_(message) {
}
IndexedDBDatabaseError::~IndexedDBDatabaseError() = default;
IndexedDBDatabaseError& IndexedDBDatabaseError::operator=(
const IndexedDBDatabaseError& rhs) = default;
} // namespace content
|