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

Issue 220323004: device/bluetooth: Rename device::bluetooth_utils::UUID to device::BluetoothUUID (Closed)

Created:
6 years, 8 months ago by armansito
Modified:
6 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

device/bluetooth: Rename device::bluetooth_utils::UUID to device::BluetoothUUID Moved bluetooth_utils::UUID into its own file called bluetooth_uuid.h/cc as class BluetoothUUID. This effectively removes the usage of bluetooth_utils::CanonicalUuid BUG=358874 TEST=device_unittests, browser_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261566

Patch Set 1 #

Total comments: 1

Patch Set 2 : Went full BluetoothUUID #

Patch Set 3 : Rebased on top of recent change by tengs@. #

Total comments: 2

Patch Set 4 : Fixed nits. #

Patch Set 5 : Fixed Win compile errors, bluetooth_event_router_unittest, bluetooth_service_record_win_unittest. #

Patch Set 6 : More Win compile errors. #

Patch Set 7 : More Win compile errors #2. #

Patch Set 8 : More Win compile errors #3. #

Patch Set 9 : More Win compile errors #4. #

Patch Set 10 : Initialized |empty_device_| in BluetoothDeviceWinTest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -544 lines) Patch
M chrome/browser/extensions/api/bluetooth/bluetooth_api.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 1 2 6 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc View 1 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc View 1 2 3 4 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h View 1 2 5 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc View 1 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js View 1 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth.gyp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_chromeos_unittest.cc View 1 2 3 9 chunks +21 lines, -17 lines 0 comments Download
M device/bluetooth/bluetooth_device.h View 1 2 3 4 4 chunks +3 lines, -8 lines 0 comments Download
M device/bluetooth/bluetooth_device.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.cc View 1 2 3 4 5 chunks +14 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_device_mac.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_device_mac.mm View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_device_win_unittest.cc View 1 2 3 4 5 6 7 8 9 6 chunks +10 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_characteristic.h View 3 chunks +4 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_characteristic.cc View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_gatt_descriptor.h View 9 chunks +10 lines, -10 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_descriptor.cc View 1 2 3 2 chunks +13 lines, -15 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_service.h View 3 chunks +4 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_profile.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_profile.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M device/bluetooth/bluetooth_profile_chromeos.h View 1 4 chunks +4 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_profile_chromeos.cc View 1 5 chunks +6 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_profile_chromeos_unittest.cc View 1 4 chunks +4 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_profile_mac.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_profile_mac.mm View 1 2 chunks +3 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_profile_win.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_profile_win.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_service_record.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_service_record_mac.mm View 1 1 chunk +3 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_service_record_win.cc View 1 2 3 4 5 6 7 5 chunks +10 lines, -9 lines 0 comments Download
M device/bluetooth/bluetooth_service_record_win_unittest.cc View 1 2 3 4 5 chunks +6 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_utils.h View 1 1 chunk +0 lines, -106 lines 0 comments Download
M device/bluetooth/bluetooth_utils.cc View 1 1 chunk +0 lines, -110 lines 0 comments Download
M device/bluetooth/bluetooth_utils_unittest.cc View 1 1 chunk +0 lines, -106 lines 0 comments Download
A + device/bluetooth/bluetooth_uuid.h View 1 4 chunks +16 lines, -28 lines 0 comments Download
A + device/bluetooth/bluetooth_uuid.cc View 1 4 chunks +16 lines, -25 lines 0 comments Download
A device/bluetooth/bluetooth_uuid_unittest.cc View 1 2 3 1 chunk +76 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M device/device_tests.gyp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
armansito
6 years, 8 months ago (2014-04-01 02:59:02 UTC) #1
keybuk
also replace the vector of string uuids in BluetoothDevice with BluetoothUUID https://codereview.chromium.org/220323004/diff/1/device/bluetooth/bluetooth_utils.h File device/bluetooth/bluetooth_utils.h (right): ...
6 years, 8 months ago (2014-04-01 17:12:09 UTC) #2
armansito
mkearney@: chrome/common/extensions/* rpaquay@: FYI
6 years, 8 months ago (2014-04-01 23:42:49 UTC) #3
armansito
tengs@: FYI
6 years, 8 months ago (2014-04-02 20:08:23 UTC) #4
armansito
miket@: PTAL at chrome/browser/extensions/*
6 years, 8 months ago (2014-04-02 21:37:35 UTC) #5
miket_OOO
On 2014/04/02 21:37:35, armansito wrote: > miket@: PTAL at chrome/browser/extensions/* c/b/e/ LGTM
6 years, 8 months ago (2014-04-02 21:42:15 UTC) #6
keybuk
lgtm https://codereview.chromium.org/220323004/diff/40001/chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc File chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc (right): https://codereview.chromium.org/220323004/diff/40001/chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc#newcode648 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc:648: uuids.push_back(BluetoothUUID("0x1106")); nit: the canonical format for a 16-bit ...
6 years, 8 months ago (2014-04-02 23:32:27 UTC) #7
armansito
https://codereview.chromium.org/220323004/diff/40001/chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc File chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc (right): https://codereview.chromium.org/220323004/diff/40001/chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc#newcode648 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc:648: uuids.push_back(BluetoothUUID("0x1106")); On 2014/04/02 23:32:27, keybuk wrote: > nit: the ...
6 years, 8 months ago (2014-04-03 00:44:35 UTC) #8
armansito
The CQ bit was checked by armansito@chromium.org
6 years, 8 months ago (2014-04-03 00:44:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/armansito@chromium.org/220323004/60001
6 years, 8 months ago (2014-04-03 00:45:58 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 01:49:52 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=293006 ...
6 years, 8 months ago (2014-04-03 01:49:53 UTC) #12
armansito
The CQ bit was checked by armansito@chromium.org
6 years, 8 months ago (2014-04-03 08:52:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/armansito@chromium.org/220323004/130001
6 years, 8 months ago (2014-04-03 08:52:34 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 09:37:27 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 8 months ago (2014-04-03 09:37:28 UTC) #16
armansito
The CQ bit was checked by armansito@chromium.org
6 years, 8 months ago (2014-04-03 21:07:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/armansito@chromium.org/220323004/160001
6 years, 8 months ago (2014-04-03 21:08:08 UTC) #18
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 23:07:30 UTC) #19
Message was sent while issue was closed.
Change committed as 261566

Powered by Google App Engine
This is Rietveld 408576698