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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp

Issue 2392443007: reflow comments in modules/[app_banner,encoding] (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
index 5e937733d704f64d640d72445d5a5af923092ecb..b775275a007229db2c813b4365f921959e47ea99 100644
--- a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
@@ -176,14 +176,16 @@ ScriptPromise Bluetooth::requestDevice(ScriptState* scriptState,
"https://bit.ly/WebBluetoothOriginTrial"));
}
- // 1. If the incumbent settings object is not a secure context, reject promise with a SecurityError and abort these steps.
+ // 1. If the incumbent settings object is not a secure context, reject promise
+ // with a SecurityError and abort these steps.
String errorMessage;
if (!context->isSecureContext(errorMessage)) {
return ScriptPromise::rejectWithDOMException(
scriptState, DOMException::create(SecurityError, errorMessage));
}
- // 2. If the algorithm is not allowed to show a popup, reject promise with a SecurityError and abort these steps.
+ // 2. If the algorithm is not allowed to show a popup, reject promise with a
+ // SecurityError and abort these steps.
if (!UserGestureIndicator::consumeUserGesture()) {
return ScriptPromise::rejectWithDOMException(
scriptState,
@@ -198,7 +200,8 @@ ScriptPromise Bluetooth::requestDevice(ScriptState* scriptState,
return ScriptPromise::rejectWithDOMException(
scriptState, DOMException::create(NotSupportedError));
- // 3. In order to convert the arguments from service names and aliases to just UUIDs, do the following substeps:
+ // 3. In order to convert the arguments from service names and aliases to just
+ // UUIDs, do the following substeps:
WebRequestDeviceOptions webOptions;
convertRequestDeviceOptions(options, webOptions, exceptionState);
if (exceptionState.hadException())

Powered by Google App Engine
This is Rietveld 408576698