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

Unified Diff: components/dom_distiller/core/dom_distiller_model.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/dom_distiller/core/dom_distiller_model.h
diff --git a/components/dom_distiller/core/dom_distiller_model.h b/components/dom_distiller/core/dom_distiller_model.h
index 6a9322abfb68806ea3426fa495040f6ba9ed57e2..071f9ca5c43db8c20e8d2517c3bf3dfec3b9b63f 100644
--- a/components/dom_distiller/core/dom_distiller_model.h
+++ b/components/dom_distiller/core/dom_distiller_model.h
@@ -5,11 +5,15 @@
#ifndef COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_MODEL_H_
#define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_MODEL_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include <vector>
#include "base/containers/hash_tables.h"
#include "base/id_map.h"
+#include "base/macros.h"
#include "components/dom_distiller/core/article_entry.h"
#include "sync/api/sync_change.h"
#include "sync/api/sync_change_processor.h" // syncer::SyncChangeList
@@ -57,7 +61,7 @@ class DomDistillerModel {
syncer::SyncChangeList* changes_missing);
private:
- typedef int32 KeyType;
+ typedef int32_t KeyType;
typedef base::hash_map<KeyType, ArticleEntry> EntryMap;
typedef base::hash_map<std::string, KeyType> StringToKeyMap;
« no previous file with comments | « components/dom_distiller/core/distiller_url_fetcher.h ('k') | components/dom_distiller/core/dom_distiller_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698