Chromium Code Reviews| Index: content/browser/indexed_db/indexed_db_database_error.h |
| diff --git a/content/browser/indexed_db/indexed_db_database_error.h b/content/browser/indexed_db/indexed_db_database_error.h |
| index 25b5ea6ed1cc81cae9614027aa8bd3d4bb3804e1..302378eff44e3d9cebb95f736e14fd23d82aad07 100644 |
| --- a/content/browser/indexed_db/indexed_db_database_error.h |
| +++ b/content/browser/indexed_db/indexed_db_database_error.h |
| @@ -14,6 +14,7 @@ namespace content { |
| class IndexedDBDatabaseError { |
| public: |
| explicit IndexedDBDatabaseError(uint16 code) : code_(code) {} |
| + IndexedDBDatabaseError() {} |
|
cmumford
2015/02/20 17:50:17
What do you think about getting in the habit of on
jsbell
2015/02/20 18:27:02
Done. Moved all the impls to (a new) .cc file.
|
| IndexedDBDatabaseError(uint16 code, const char* message) |
| : code_(code), message_(base::ASCIIToUTF16(message)) {} |
| IndexedDBDatabaseError(uint16 code, const base::string16& message) |
| @@ -24,10 +25,8 @@ class IndexedDBDatabaseError { |
| const base::string16& message() const { return message_; } |
| private: |
| - const uint16 code_; |
| - const base::string16 message_; |
| - |
| - DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabaseError); |
| + uint16 code_ = 0; |
|
cmumford
2015/02/20 17:50:17
yeah! I forgot this is now allowed.
|
| + base::string16 message_; |
| }; |
| } // namespace content |