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

Unified Diff: apps/shell/browser/shell_app_window_api.h

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: apps/shell/browser/shell_app_window_api.h
diff --git a/apps/shell/browser/shell_app_window_api.h b/apps/shell/browser/shell_app_window_api.h
index d805dff033e73331d6f740d164525b73a76aafa3..bb5eb375bc0c411b40d0cf0fc2c5bea20aa3d18e 100644
--- a/apps/shell/browser/shell_app_window_api.h
+++ b/apps/shell/browser/shell_app_window_api.h
@@ -13,7 +13,7 @@ namespace extensions {
// A simplified implementation of the chrome.app.window.create() function for
// app_shell. Opens a fullscreen window and invokes the window callback. Most
// of the response is stub data, but the JS contentWindow is valid.
-class ShellAppWindowCreateFunction : public UIThreadExtensionFunction {
+class ShellAppWindowCreateFunction : public AsyncExtensionFunction {
public:
ShellAppWindowCreateFunction();
@@ -23,7 +23,7 @@ class ShellAppWindowCreateFunction : public UIThreadExtensionFunction {
private:
virtual ~ShellAppWindowCreateFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698