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

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

Issue 932143003: IndexedDB: Report QuotaExceededError when commit fails due to disk full (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move IndexedDBDatabaseError impl to cc file Created 5 years, 10 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 code) : code_(code) {
10 }
11
12 IndexedDBDatabaseError::IndexedDBDatabaseError() = default;
13
14 IndexedDBDatabaseError::IndexedDBDatabaseError(uint16 code, const char* message)
15 : code_(code), message_(base::ASCIIToUTF16(message)) {
16 }
17
18 IndexedDBDatabaseError::IndexedDBDatabaseError(uint16 code,
19 const base::string16& message)
20 : code_(code), message_(message) {
21 }
22
23 IndexedDBDatabaseError::~IndexedDBDatabaseError() = default;
24
25 IndexedDBDatabaseError& IndexedDBDatabaseError::operator=(
26 const IndexedDBDatabaseError& rhs) = default;
27
28 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_error.h ('k') | content/browser/indexed_db/indexed_db_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698