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

Unified Diff: chrome/browser/extensions/api/bluetooth/bluetooth_api.cc

Issue 257333002: Drive extension functions from ExtensionFunction::Run. The (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: appshell 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/bluetooth_api.cc
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc b/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
index 52c631ed1901215888107994b1ebde7c3431721a..f1f0cd8383f08778c6927879fb8d52dc42f9b0c7 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
@@ -300,7 +300,7 @@ BluetoothSocketApiFunction::BluetoothSocketApiFunction() {}
BluetoothSocketApiFunction::~BluetoothSocketApiFunction() {}
-bool BluetoothSocketApiFunction::RunImpl() {
+bool BluetoothSocketApiFunction::RunAsync() {
if (!PrePrepare() || !Prepare()) {
return false;
}
@@ -394,7 +394,7 @@ BluetoothAddProfileFunction::BluetoothAddProfileFunction() {}
BluetoothAddProfileFunction::~BluetoothAddProfileFunction() {}
-bool BluetoothAddProfileFunction::RunImpl() {
+bool BluetoothAddProfileFunction::RunAsync() {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
scoped_ptr<AddProfile::Params> params(AddProfile::Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params.get() != NULL);

Powered by Google App Engine
This is Rietveld 408576698