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

Unified Diff: content/browser/bluetooth/bluetooth_dispatcher_host.h

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/bluetooth/bluetooth_dispatcher_host.h
diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.h b/content/browser/bluetooth/bluetooth_dispatcher_host.h
index 20170af61b7441643c76bc7ff900927f98709119..d45271d0464dd192af4adc0c296d0de9bd7a957e 100644
--- a/content/browser/bluetooth/bluetooth_dispatcher_host.h
+++ b/content/browser/bluetooth/bluetooth_dispatcher_host.h
@@ -5,10 +5,12 @@
#ifndef CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_DISPATCHER_HOST_H_
#define CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_DISPATCHER_HOST_H_
+#include <stdint.h>
+
#include <map>
-#include "base/basictypes.h"
#include "base/id_map.h"
+#include "base/macros.h"
#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/bluetooth_chooser.h"
@@ -85,13 +87,13 @@ class CONTENT_EXPORT BluetoothDispatcherHost final
void GattCharacteristicValueChanged(
device::BluetoothAdapter* adapter,
device::BluetoothGattCharacteristic* characteristic,
- const std::vector<uint8>& value) override;
+ const std::vector<uint8_t>& value) override;
// Sends an IPC to the thread informing that a the characteristic's
// value changed.
void NotifyActiveCharacteristic(int thread_id,
const std::string& characteristic_instance_id,
- const std::vector<uint8>& value);
+ const std::vector<uint8_t>& value);
// IPC Handlers, see definitions in bluetooth_messages.h.
void OnRequestDevice(
@@ -173,7 +175,7 @@ class CONTENT_EXPORT BluetoothDispatcherHost final
// Callbacks for BluetoothGattCharacteristic::ReadRemoteCharacteristic.
void OnCharacteristicValueRead(int thread_id,
int request_id,
- const std::vector<uint8>& value);
+ const std::vector<uint8_t>& value);
void OnCharacteristicReadValueError(
int thread_id,
int request_id,

Powered by Google App Engine
This is Rietveld 408576698