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

Unified Diff: chrome/utility/profile_import_handler.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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
« no previous file with comments | « chrome/utility/profile_import_handler.h ('k') | chrome/utility/safe_browsing/mac/convert_big_endian.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/profile_import_handler.cc
diff --git a/chrome/utility/profile_import_handler.cc b/chrome/utility/profile_import_handler.cc
index 3a57d4f446372add189fe5b2142130db927a3695..98b6b74fcefec1699311883ff6c44672d1510720 100644
--- a/chrome/utility/profile_import_handler.cc
+++ b/chrome/utility/profile_import_handler.cc
@@ -10,6 +10,7 @@
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
#include "base/threading/thread.h"
+#include "build/build_config.h"
#include "chrome/common/importer/profile_import_process_messages.h"
#include "chrome/utility/importer/external_process_importer_bridge.h"
#include "chrome/utility/importer/importer.h"
@@ -42,7 +43,7 @@ bool ProfileImportHandler::OnMessageReceived(const IPC::Message& message) {
void ProfileImportHandler::OnImportStart(
const importer::SourceProfile& source_profile,
- uint16 items,
+ uint16_t items,
const base::DictionaryValue& localized_strings) {
content::UtilityThread::Get()->EnsureBlinkInitialized();
bridge_ = new ExternalProcessImporterBridge(
@@ -76,7 +77,7 @@ void ProfileImportHandler::OnImportCancel() {
ImporterCleanup();
}
-void ProfileImportHandler::OnImportItemFinished(uint16 item) {
+void ProfileImportHandler::OnImportItemFinished(uint16_t item) {
items_to_import_ ^= item; // Remove finished item from mask.
// If we've finished with all items, notify the browser process.
if (items_to_import_ == 0) {
« no previous file with comments | « chrome/utility/profile_import_handler.h ('k') | chrome/utility/safe_browsing/mac/convert_big_endian.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698