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

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

Issue 1875463002: Remove unused fields from //content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scythe-root
Patch Set: Reverting not really needed changes under //gpu. Created 4 years, 8 months 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 | « content/browser/appcache/appcache_internals_ui.h ('k') | content/browser/cache_storage/cache_storage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/bluetooth/bluetooth_dispatcher_host.cc
diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.cc b/content/browser/bluetooth/bluetooth_dispatcher_host.cc
index 2725b3d13867580738a7e8ab7a78506268467b97..78d8c12391f6f614c079fccffdce789b86a95245 100644
--- a/content/browser/bluetooth/bluetooth_dispatcher_host.cc
+++ b/content/browser/bluetooth/bluetooth_dispatcher_host.cc
@@ -320,13 +320,11 @@ struct BluetoothDispatcherHost::RequestDeviceSession {
public:
RequestDeviceSession(int thread_id,
int request_id,
- int frame_routing_id,
url::Origin origin,
const std::vector<BluetoothScanFilter>& filters,
const std::vector<BluetoothUUID>& optional_services)
: thread_id(thread_id),
request_id(request_id),
- frame_routing_id(frame_routing_id),
origin(origin),
filters(filters),
optional_services(optional_services) {}
@@ -353,7 +351,6 @@ struct BluetoothDispatcherHost::RequestDeviceSession {
const int thread_id;
const int request_id;
- const int frame_routing_id;
const url::Origin origin;
const std::vector<BluetoothScanFilter> filters;
const std::vector<BluetoothUUID> optional_services;
@@ -1045,9 +1042,9 @@ void BluetoothDispatcherHost::OnRequestDeviceImpl(
// Create storage for the information that backs the chooser, and show the
// chooser.
- RequestDeviceSession* const session = new RequestDeviceSession(
- thread_id, request_id, frame_routing_id, requesting_origin, filters,
- optional_services_blacklist_filtered);
+ RequestDeviceSession* const session =
+ new RequestDeviceSession(thread_id, request_id, requesting_origin,
+ filters, optional_services_blacklist_filtered);
int chooser_id = request_device_sessions_.Add(session);
BluetoothChooser::EventHandler chooser_event_handler =
« no previous file with comments | « content/browser/appcache/appcache_internals_ui.h ('k') | content/browser/cache_storage/cache_storage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698