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

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

Issue 2506813003: Use new wrapper types for web_bluetooth.mojom (Closed)
Patch Set: updated web_bluetooth_impl.cc 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..a61b90a625c0449a13fe2c7a0c49f89bd88d2bba 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.
ortuno 2016/11/21 04:42:31 Why move this? Without this tests won't be able to
juncai 2016/11/21 21:27:05 It seems that this operator<< is only used by: htt
-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());

Powered by Google App Engine
This is Rietveld 408576698