diff options
| author | avi <avi@chromium.org> | 2015-12-25 18:18:31 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-12-26 02:19:43 +0000 |
| commit | 664c07b4a56436648cc9339c18d3bd27ae220964 (patch) | |
| tree | fc307cecfc6ec1b9d18a154f8d218c1c473e9ef6 /chrome/browser/spellchecker/misspelling.h | |
| parent | b896c715dd14ec1f7ac800350b40eeb6de2ba868 (diff) | |
| download | chromium_src-664c07b4a56436648cc9339c18d3bd27ae220964.zip chromium_src-664c07b4a56436648cc9339c18d3bd27ae220964.tar.gz chromium_src-664c07b4a56436648cc9339c18d3bd27ae220964.tar.bz2 | |
Switch to standard integer types in chrome/browser/, part 4 of 4.
BUG=138542
TBR=thakis@chromium.org
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1545223002
Cr-Commit-Position: refs/heads/master@{#366884}
Diffstat (limited to 'chrome/browser/spellchecker/misspelling.h')
| -rw-r--r-- | chrome/browser/spellchecker/misspelling.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/spellchecker/misspelling.h b/chrome/browser/spellchecker/misspelling.h index d7e4c28..44bd78a 100644 --- a/chrome/browser/spellchecker/misspelling.h +++ b/chrome/browser/spellchecker/misspelling.h @@ -4,7 +4,7 @@ // // An object to store user feedback to a single spellcheck suggestion. // -// Stores the spellcheck suggestion, its uint32 hash identifier, and user's +// Stores the spellcheck suggestion, its uint32_t hash identifier, and user's // feedback. The feedback is indirect, in the sense that we record user's // |action| instead of asking them how they feel about a spellcheck suggestion. // The object can serialize itself. @@ -12,6 +12,9 @@ #ifndef CHROME_BROWSER_SPELLCHECKER_MISSPELLING_H_ #define CHROME_BROWSER_SPELLCHECKER_MISSPELLING_H_ +#include <stddef.h> +#include <stdint.h> + #include <vector> #include "base/time/time.h" @@ -34,7 +37,7 @@ struct Misspelling { size_t location, size_t length, const std::vector<base::string16>& suggestions, - uint32 hash); + uint32_t hash); ~Misspelling(); // A several-word text snippet that immediately surrounds the misspelling. @@ -51,7 +54,7 @@ struct Misspelling { std::vector<base::string16> suggestions; // The hash that identifies the misspelling. - uint32 hash; + uint32_t hash; // User action. SpellcheckAction action; |
