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

Unified Diff: components/search_engines/default_search_manager.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
« no previous file with comments | « components/search/search_unittest.cc ('k') | components/search_engines/default_search_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/default_search_manager.cc
diff --git a/components/search_engines/default_search_manager.cc b/components/search_engines/default_search_manager.cc
index 000a07143c55a4425c4515c0cd12f22a642eaac9..8a96d8da68e09eacb63a18a34b5e90da19cff4bf 100644
--- a/components/search_engines/default_search_manager.cc
+++ b/components/search_engines/default_search_manager.cc
@@ -4,6 +4,9 @@
#include "components/search_engines/default_search_manager.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <algorithm>
#include <utility>
@@ -354,13 +357,13 @@ void DefaultSearchManager::LoadDefaultSearchEngineFromPrefs() {
url_dict->GetString(kDateCreated, &date_created_str);
url_dict->GetString(kLastModified, &last_modified_str);
- int64 date_created = 0;
+ int64_t date_created = 0;
if (base::StringToInt64(date_created_str, &date_created)) {
prefs_default_search_->date_created =
base::Time::FromInternalValue(date_created);
}
- int64 last_modified = 0;
+ int64_t last_modified = 0;
if (base::StringToInt64(date_created_str, &last_modified)) {
prefs_default_search_->last_modified =
base::Time::FromInternalValue(last_modified);
« no previous file with comments | « components/search/search_unittest.cc ('k') | components/search_engines/default_search_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698