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

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

Issue 2320213004: Port IndexedDB open() and database callbacks to Mojo. (Closed)
Patch Set: Make DatabaseClient an associated interface. Created 4 years, 3 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
OLDNEW
(Empty)
1 // Copyright 2015 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_database_error.h"
6
7 namespace content {
8
9 IndexedDBDatabaseError::IndexedDBDatabaseError(uint16_t code) : code_(code) {}
10
11 IndexedDBDatabaseError::IndexedDBDatabaseError() = default;
12
13 IndexedDBDatabaseError::IndexedDBDatabaseError(uint16_t code,
14 const char* message)
15 : code_(code), message_(base::ASCIIToUTF16(message)) {}
16
17 IndexedDBDatabaseError::IndexedDBDatabaseError(uint16_t code,
18 const base::string16& message)
19 : code_(code), message_(message) {}
20
21 IndexedDBDatabaseError::~IndexedDBDatabaseError() = default;
22
23 IndexedDBDatabaseError& IndexedDBDatabaseError::operator=(
24 const IndexedDBDatabaseError& rhs) = default;
25
26 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_error.h ('k') | content/browser/indexed_db/indexed_db_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698