Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / athena / test / sample_activity_factory.h
blob5dd9e1ad552bc2b21daa7d089e43ea14ce990955
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"
11 namespace athena {
12 namespace test {
14 class SampleActivityFactory : public ActivityFactory {
15 public:
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;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(SampleActivityFactory);
30 } // namespace test
31 } // namespace athena
33 #endif // ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_