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

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

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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 7b233f028fda55d9ddfdcf8a139cca94605c17f5..6106f75b1d61e6e866229df91ad47f2ac016d89d 100644
--- a/content/browser/indexed_db/indexed_db_database_error.h
+++ b/content/browser/indexed_db/indexed_db_database_error.h
@@ -5,7 +5,8 @@
#ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_ERROR_H_
#define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_ERROR_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
@@ -14,18 +15,18 @@ namespace content {
class IndexedDBDatabaseError {
public:
IndexedDBDatabaseError();
- explicit IndexedDBDatabaseError(uint16 code);
- IndexedDBDatabaseError(uint16 code, const char* message);
- IndexedDBDatabaseError(uint16 code, const base::string16& message);
+ explicit IndexedDBDatabaseError(uint16_t code);
+ IndexedDBDatabaseError(uint16_t code, const char* message);
+ IndexedDBDatabaseError(uint16_t code, const base::string16& message);
~IndexedDBDatabaseError();
IndexedDBDatabaseError& operator=(const IndexedDBDatabaseError& rhs);
- uint16 code() const { return code_; }
+ uint16_t code() const { return code_; }
const base::string16& message() const { return message_; }
private:
- uint16 code_ = 0;
+ uint16_t code_ = 0;
base::string16 message_;
};
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_callbacks.cc ('k') | content/browser/indexed_db/indexed_db_database_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698