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

Unified Diff: content/browser/vibration_manager_integration_browsertest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: content/browser/vibration_manager_integration_browsertest.cc
diff --git a/content/browser/vibration_manager_integration_browsertest.cc b/content/browser/vibration_manager_integration_browsertest.cc
index 2f8b212bb9bc0e5bf25b686383c9c24d6642780a..562376105a3dd173724a06e854b417b4e92850bc 100644
--- a/content/browser/vibration_manager_integration_browsertest.cc
+++ b/content/browser/vibration_manager_integration_browsertest.cc
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdint.h>
+
+#include "base/macros.h"
+#include "build/build_config.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/service_registry.h"
#include "content/public/test/content_browser_test.h"
@@ -21,7 +25,7 @@ namespace content {
namespace {
// Global, record milliseconds when Vibrate() got called.
-int64 g_vibrate_milliseconds;
+int64_t g_vibrate_milliseconds;
// Global, record whether Cancel() got called.
bool g_cancelled;
// Global, wait for end of execution for VibrationManager API Vibrate().
@@ -48,7 +52,7 @@ class FakeVibrationManager : public device::VibrationManager {
: binding_(this, request.Pass()) {}
~FakeVibrationManager() override {}
- void Vibrate(int64 milliseconds) override {
+ void Vibrate(int64_t milliseconds) override {
g_vibrate_milliseconds = milliseconds;
g_wait_vibrate_runner->Quit();
}
« no previous file with comments | « content/browser/utility_process_host_impl.cc ('k') | content/browser/vr/android/cardboard/cardboard_vr_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698