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

Side by Side Diff: content/browser/bluetooth/bluetooth_metrics.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_METRICS_H_ 5 #ifndef CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_METRICS_H_
6 #define CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_METRICS_H_ 6 #define CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_METRICS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.moj om.h" 11 #include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.moj om.h"
12 12
13 namespace base { 13 namespace base {
14 class TimeDelta; 14 class TimeDelta;
15 } 15 }
16 16
17 namespace device { 17 namespace device {
18 class BluetoothUUID; 18 class BluetoothUUID;
19 } 19 }
20 20
21 namespace content { 21 namespace content {
22 struct BluetoothScanFilter;
23 22
24 // General Metrics 23 // General Metrics
25 24
26 // Enumeration of each Web Bluetooth API entry point. 25 // Enumeration of each Web Bluetooth API entry point.
27 enum class UMAWebBluetoothFunction { 26 enum class UMAWebBluetoothFunction {
28 REQUEST_DEVICE = 0, 27 REQUEST_DEVICE = 0,
29 CONNECT_GATT = 1, 28 CONNECT_GATT = 1,
30 GET_PRIMARY_SERVICE = 2, 29 GET_PRIMARY_SERVICE = 2,
31 SERVICE_GET_CHARACTERISTIC = 3, 30 SERVICE_GET_CHARACTERISTIC = 3,
32 CHARACTERISTIC_READ_VALUE = 4, 31 CHARACTERISTIC_READ_VALUE = 4,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 289
291 // Records the raw RSSI, and processed result displayed to users, when 290 // Records the raw RSSI, and processed result displayed to users, when
292 // content::BluetoothDeviceChooserController::CalculateSignalStrengthLevel() is 291 // content::BluetoothDeviceChooserController::CalculateSignalStrengthLevel() is
293 // called. 292 // called.
294 void RecordRSSISignalStrength(int rssi); 293 void RecordRSSISignalStrength(int rssi);
295 void RecordRSSISignalStrengthLevel(UMARSSISignalStrengthLevel level); 294 void RecordRSSISignalStrengthLevel(UMARSSISignalStrengthLevel level);
296 295
297 } // namespace content 296 } // namespace content
298 297
299 #endif // CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_METRICS_H_ 298 #endif // CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698