| Index: athena/activity/public/activity_factory.h
|
| diff --git a/athena/activity/public/activity_factory.h b/athena/activity/public/activity_factory.h
|
| index c617eee774310f5aa8e6257a8ad1c0aeeac607ee..bc95893e2539de907380bfb1ba58b3bd629ab087 100644
|
| --- a/athena/activity/public/activity_factory.h
|
| +++ b/athena/activity/public/activity_factory.h
|
| @@ -8,6 +8,10 @@
|
| #include "athena/athena_export.h"
|
| #include "url/gurl.h"
|
|
|
| +namespace apps {
|
| +class ShellAppWindow;
|
| +}
|
| +
|
| namespace content {
|
| class BrowserContext;
|
| }
|
| @@ -32,9 +36,9 @@ class ATHENA_EXPORT ActivityFactory {
|
| virtual Activity* CreateWebActivity(content::BrowserContext* browser_context,
|
| const GURL& url) = 0;
|
|
|
| - // Create an activity of an app.
|
| - virtual Activity* CreateAppActivity(content::BrowserContext* browser_context,
|
| - const std::string& app_id) = 0;
|
| + // Create an activity of an app with |app_window|. The returned activity
|
| + // should own |app_window|.
|
| + virtual Activity* CreateAppActivity(apps::ShellAppWindow* app_window) = 0;
|
| };
|
|
|
| } // namespace athena
|
|
|