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

Side by Side Diff: chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_page_handler.cc

Issue 2357383002: bluetooth: Add device list retrieval for chrome://bluetooth-internals (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <utility>
6
7 #include "chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_page_h andler.h"
8 #include "chrome/browser/ui/webui/bluetooth_internals/services/bluetooth_adapter _service.h"
9 #include "mojo/public/cpp/bindings/strong_binding.h"
10
11 BluetoothInternalsPageHandler::BluetoothInternalsPageHandler(
12 mojom::InternalsPageHandlerRequest request)
13 : binding_(this, std::move(request)) {}
14
15 BluetoothInternalsPageHandler::~BluetoothInternalsPageHandler() {}
16
17 void BluetoothInternalsPageHandler::GetAdapterService(
18 bluetooth::AdapterRequest request,
19 bluetooth::AdapterClientPtr client) {
20 mojo::MakeStrongBinding(
21 base::MakeUnique<BluetoothAdapterService>(std::move(client)),
22 std::move(request));
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698