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

Unified Diff: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc

Issue 1976453002: Add permission parsing and the removeService API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@idl_changes
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc
index 096ea4aee71b764c55d40d1aa460f395ba5b0ce5..446905033799ed9c653b25e8a37cc9678b3067b4 100644
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc
@@ -17,7 +17,7 @@
#include "testing/gmock/include/gmock/gmock.h"
namespace {
-const std::string kTestingAppId = "pjdjhejcdkeebjehnokfbfnjmgmgdjlc";
+const char kTestingAppId[] = "pjdjhejcdkeebjehnokfbfnjmgmgdjlc";
} // namespace
namespace extensions {
@@ -144,6 +144,13 @@ IN_PROC_BROWSER_TEST_F(BluetoothLowEnergyApiTestChromeOs, UnregisterService) {
<< message_;
}
+IN_PROC_BROWSER_TEST_F(BluetoothLowEnergyApiTestChromeOs, RemoveService) {
+ ASSERT_TRUE(
+ RunPlatformAppTest("api_test/bluetooth_low_energy/"
+ "remove_service"))
+ << message_;
+}
+
// TODO(rkc): Figure out how to integrate with BluetoothTestBlueZ and write
// comprehensive tests for GATT server events. See http://crbug.com/607395 for
// details.

Powered by Google App Engine
This is Rietveld 408576698