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

Side by Side Diff: content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h

Issue 2188373002: DO NOT SUBMIT bluetooth-fuzzer: Draft fuzzer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-catch-and-connect
Patch Set: Created 4 years, 4 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 | content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER _H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER _H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER _H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER _H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>> 199 static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
200 GetTwoHeartRateServicesAdapter(); 200 GetTwoHeartRateServicesAdapter();
201 201
202 // |DisconnectingHeartRateAdapter| 202 // |DisconnectingHeartRateAdapter|
203 // Inherits from |HeartRateAdapter| 203 // Inherits from |HeartRateAdapter|
204 // Internal Structure: 204 // Internal Structure:
205 // - Heart Rate Device 205 // - Heart Rate Device
206 // - UUIDs: 206 // - UUIDs:
207 // - Generic Access UUID (0x1800) 207 // - Generic Access UUID (0x1800)
208 // - Heart Rate UUID (0x180d) 208 // - Heart Rate UUID (0x180d)
209 // - Request Deisconnection Service
210 // (01d7d889-7451-419f-aeb8-d65e7b9277af)
209 // - Services: 211 // - Services:
210 // - Generic Access Service - Characteristics as described in 212 // - Generic Access Service - Characteristics as described in
211 // GetGenericAccessService. 213 // GetGenericAccessService.
212 // - Heart Rate Service - Characteristics as described in 214 // - Heart Rate Service - Characteristics as described in
213 // GetHeartRateService. 215 // GetHeartRateService.
214 // - Request Disconnection Service: 216 // - Request Disconnection Service:
215 // - Request Disconnection Characteristic - A write will cause the 217 // - Request Disconnection Characteristic - A write will cause the
216 // device to disconnect. 218 // device to disconnect.
217 static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>> 219 static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
218 GetDisconnectingHeartRateAdapter(); 220 GetDisconnectingHeartRateAdapter();
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 625
624 // Function to turn an integer into an MAC address of the form 626 // Function to turn an integer into an MAC address of the form
625 // XX:XX:XX:XX:XX:XX. For example makeMACAddress(0xdeadbeef) 627 // XX:XX:XX:XX:XX:XX. For example makeMACAddress(0xdeadbeef)
626 // returns "00:00:DE:AD:BE:EF". 628 // returns "00:00:DE:AD:BE:EF".
627 static std::string makeMACAddress(uint64_t addr); 629 static std::string makeMACAddress(uint64_t addr);
628 }; 630 };
629 631
630 } // namespace content 632 } // namespace content
631 633
632 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVI DER_H_ 634 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVI DER_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698