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

Unified Diff: chrome/browser/extensions/window_controller_list.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/window_controller_list.cc
diff --git a/chrome/browser/extensions/window_controller_list.cc b/chrome/browser/extensions/window_controller_list.cc
index 608d3e5a9576c3de8c9a301e2307c8310078b911..230ec5145ba6bbac1a3ada40944ebee24e1e61fb 100644
--- a/chrome/browser/extensions/window_controller_list.cc
+++ b/chrome/browser/extensions/window_controller_list.cc
@@ -62,7 +62,7 @@ WindowController* WindowControllerList::FindWindowById(int id) const {
}
WindowController* WindowControllerList::FindWindowForFunctionById(
- const ChromeAsyncExtensionFunction* function,
+ const ChromeUIThreadExtensionFunction* function,
int id) const {
WindowController* controller = FindWindowById(id);
if (controller && function->CanOperateOnWindow(controller))
@@ -71,7 +71,7 @@ WindowController* WindowControllerList::FindWindowForFunctionById(
}
WindowController* WindowControllerList::CurrentWindowForFunction(
- const ChromeAsyncExtensionFunction* function) const {
+ const ChromeUIThreadExtensionFunction* function) const {
WindowController* result = NULL;
// Returns either the focused window (if any), or the last window in the list.
for (ControllerList::const_iterator iter = windows().begin();
« no previous file with comments | « chrome/browser/extensions/window_controller_list.h ('k') | chrome/browser/speech/extension_api/tts_extension_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698