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

Unified Diff: content/browser/indexed_db/indexed_db_database_error.h

Issue 311263014: IndexedDB: Fix trivial cpplint.py errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
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 5b81a7a36a8bb0bc1e8a45c60418163496a9ab96..25b5ea6ed1cc81cae9614027aa8bd3d4bb3804e1 100644
--- a/content/browser/indexed_db/indexed_db_database_error.h
+++ b/content/browser/indexed_db/indexed_db_database_error.h
@@ -13,8 +13,7 @@ namespace content {
class IndexedDBDatabaseError {
public:
- IndexedDBDatabaseError(uint16 code)
- : code_(code) {}
+ explicit IndexedDBDatabaseError(uint16 code) : code_(code) {}
IndexedDBDatabaseError(uint16 code, const char* message)
: code_(code), message_(base::ASCIIToUTF16(message)) {}
IndexedDBDatabaseError(uint16 code, const base::string16& message)
« no previous file with comments | « content/browser/indexed_db/indexed_db_cursor.cc ('k') | content/browser/indexed_db/indexed_db_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698