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

Side by Side Diff: device/bluetooth/bluetooth_remote_gatt_service_win.cc

Issue 1688803004: Fix -Wreorder warning after https://codereview.chromium.org/1681853003/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/bluetooth/bluetooth_remote_gatt_service_win.h" 5 #include "device/bluetooth/bluetooth_remote_gatt_service_win.h"
6 6
7 namespace device { 7 namespace device {
8 BluetoothRemoteGattServiceWin::BluetoothRemoteGattServiceWin( 8 BluetoothRemoteGattServiceWin::BluetoothRemoteGattServiceWin(
9 BluetoothDeviceWin* device, 9 BluetoothDeviceWin* device,
10 base::FilePath service_path, 10 base::FilePath service_path,
11 BluetoothUUID service_uuid, 11 BluetoothUUID service_uuid,
12 uint16_t service_attribute_handle, 12 uint16_t service_attribute_handle,
13 bool is_primary, 13 bool is_primary,
14 BluetoothRemoteGattServiceWin* parent_service, 14 BluetoothRemoteGattServiceWin* parent_service,
15 scoped_refptr<base::SequencedTaskRunner>& ui_task_runner) 15 scoped_refptr<base::SequencedTaskRunner>& ui_task_runner)
16 : service_path_(service_path), 16 : device_(device),
17 device_(device), 17 service_path_(service_path),
18 service_uuid_(service_uuid), 18 service_uuid_(service_uuid),
19 service_attribute_handle_(service_attribute_handle), 19 service_attribute_handle_(service_attribute_handle),
20 is_primary_(is_primary), 20 is_primary_(is_primary),
21 parent_service_(parent_service), 21 parent_service_(parent_service),
22 ui_task_runner_(ui_task_runner) { 22 ui_task_runner_(ui_task_runner) {
23 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); 23 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread());
24 DCHECK(!service_path_.empty()); 24 DCHECK(!service_path_.empty());
25 DCHECK(service_uuid_.IsValid()); 25 DCHECK(service_uuid_.IsValid());
26 DCHECK(service_attribute_handle_); 26 DCHECK(service_attribute_handle_);
27 DCHECK(device_); 27 DCHECK(device_);
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 void BluetoothRemoteGattServiceWin::Update() { 104 void BluetoothRemoteGattServiceWin::Update() {
105 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); 105 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread());
106 NOTIMPLEMENTED(); 106 NOTIMPLEMENTED();
107 } 107 }
108 108
109 uint16_t BluetoothRemoteGattServiceWin::GetAttributeHandle() { 109 uint16_t BluetoothRemoteGattServiceWin::GetAttributeHandle() {
110 return service_attribute_handle_; 110 return service_attribute_handle_;
111 } 111 }
112 112
113 } // namespace device. 113 } // namespace device.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698