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

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
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 | « remoting/client/plugin/chromoting_instance.h ('k') | remoting/client/plugin/delegating_signal_strategy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index 5f71ccd3b226a3851a225f21d3b04f9fde9acf52..1c23317cdf2ca824146e80a22448efd68c72660d 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -1032,7 +1032,7 @@ void ChromotingInstance::PostLegacyJsonMessage(
PostMessage(pp::Var(message_json));
}
-void ChromotingInstance::SendTrappedKey(uint32 usb_keycode, bool pressed) {
+void ChromotingInstance::SendTrappedKey(uint32_t usb_keycode, bool pressed) {
scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue());
data->SetInteger("usbKeycode", usb_keycode);
data->SetBoolean("pressed", pressed);
@@ -1131,7 +1131,7 @@ bool ChromotingInstance::IsConnected() {
void ChromotingInstance::UpdateUmaEnumHistogram(
const std::string& histogram_name,
- int64 value,
+ int64_t value,
int histogram_max) {
pp::UMAPrivate uma(this);
uma.HistogramEnumeration(histogram_name, value, histogram_max);
@@ -1140,7 +1140,7 @@ void ChromotingInstance::UpdateUmaEnumHistogram(
void ChromotingInstance::UpdateUmaCustomHistogram(
bool is_custom_counts_histogram,
const std::string& histogram_name,
- int64 value,
+ int64_t value,
int histogram_min,
int histogram_max,
int histogram_buckets) {
« no previous file with comments | « remoting/client/plugin/chromoting_instance.h ('k') | remoting/client/plugin/delegating_signal_strategy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698