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

Unified Diff: content/common/bluetooth/web_bluetooth_device_id.h

Issue 2506813003: Use new wrapper types for web_bluetooth.mojom (Closed)
Patch Set: merge master and resolve conflicts Created 4 years, 1 month 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/common/bluetooth/web_bluetooth_device_id.h
diff --git a/content/common/bluetooth/web_bluetooth_device_id.h b/content/common/bluetooth/web_bluetooth_device_id.h
index 2de12a022dfc22bc981306944568b5316ca5df9d..90b19ed93b508995b1fc584c8df6728d1eb41bc6 100644
--- a/content/common/bluetooth/web_bluetooth_device_id.h
+++ b/content/common/bluetooth/web_bluetooth_device_id.h
@@ -43,10 +43,6 @@ class CONTENT_EXPORT WebBluetoothDeviceId {
std::string device_id_;
};
-// This is required by gtest to print a readable output on test failures.
-CONTENT_EXPORT std::ostream& operator<<(std::ostream& out,
- const WebBluetoothDeviceId& device_id);
-
struct WebBluetoothDeviceIdHash {
size_t operator()(const WebBluetoothDeviceId& device_id) const {
return std::hash<std::string>()(device_id.str());
@@ -55,4 +51,9 @@ struct WebBluetoothDeviceIdHash {
} // namespace content
+// This is required by gtest to print a readable output on test failures.
+CONTENT_EXPORT std::ostream& operator<<(
+ std::ostream& out,
+ const content::WebBluetoothDeviceId& device_id);
+
#endif // CONTENT_COMMON_BLUETOOTH_WEB_BLUETOOTH_DEVICE_ID_H_

Powered by Google App Engine
This is Rietveld 408576698