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

Unified Diff: chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc

Issue 257333002: Drive extension functions from ExtensionFunction::Run. The (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 6 years, 8 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_socket/bluetooth_socket_api.cc
diff --git a/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc b/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc
index 0fd43f51ab0906f76c7726ab4c369433fa31eb8c..9894e40daf9f007cd6fdb3f127a6f37bccc88fd3 100644
--- a/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc
+++ b/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc
@@ -68,7 +68,7 @@ BluetoothSocketAsyncApiFunction::BluetoothSocketAsyncApiFunction() {}
BluetoothSocketAsyncApiFunction::~BluetoothSocketAsyncApiFunction() {}
-bool BluetoothSocketAsyncApiFunction::RunImpl() {
+bool BluetoothSocketAsyncApiFunction::RunAsync() {
if (!PrePrepare() || !Prepare()) {
return false;
}
@@ -208,25 +208,25 @@ void BluetoothSocketSetPausedFunction::Work() {
results_ = bluetooth_socket::SetPaused::Results::Create();
}
-bool BluetoothSocketListenUsingRfcommFunction::RunImpl() {
+bool BluetoothSocketListenUsingRfcommFunction::RunAsync() {
// TODO(keybuk): Implement.
SetError("Not yet implemented.");
return false;
}
-bool BluetoothSocketListenUsingInsecureRfcommFunction::RunImpl() {
+bool BluetoothSocketListenUsingInsecureRfcommFunction::RunAsync() {
// TODO(keybuk): Implement.
SetError("Not yet implemented.");
return false;
}
-bool BluetoothSocketListenUsingL2capFunction::RunImpl() {
+bool BluetoothSocketListenUsingL2capFunction::RunAsync() {
// TODO(keybuk): Implement.
SetError("Not yet implemented.");
return false;
}
-bool BluetoothSocketConnectFunction::RunImpl() {
+bool BluetoothSocketConnectFunction::RunAsync() {
// TODO(keybuk): Implement.
SetError("Not yet implemented.");
return false;

Powered by Google App Engine
This is Rietveld 408576698