1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_
6 #define ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_
8 #include "athena/activity/public/activity_factory.h"
9 #include "base/macros.h"
14 class SampleActivityFactory
: public ActivityFactory
{
16 SampleActivityFactory();
17 virtual ~SampleActivityFactory();
19 // Overridden from ActivityFactory:
20 virtual Activity
* CreateWebActivity(content::BrowserContext
* browser_context
,
21 const GURL
& url
) OVERRIDE
;
22 virtual Activity
* CreateAppActivity(extensions::ShellAppWindow
* app_window
,
23 const std::string
& app_id
) OVERRIDE
;
24 virtual Activity
* CreateAppActivity(apps::AppWindow
* app_window
) OVERRIDE
;
27 DISALLOW_COPY_AND_ASSIGN(SampleActivityFactory
);
33 #endif // ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_