blob: d577e4ad4fc75291f1b92d7f7e37f25a07b48deb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ATHENA_CONTENT_PUBLIC_CONTENT_ACTIVITY_FACTORY_H_
#define ATHENA_CONTENT_PUBLIC_CONTENT_ACTIVITY_FACTORY_H_
#include "athena/activity/public/activity_factory.h"
#include "athena/common/athena_export.h"
#include "base/macros.h"
namespace athena {
class ATHENA_EXPORT ContentActivityFactory : public ActivityFactory {
public:
ContentActivityFactory();
virtual ~ContentActivityFactory();
// Overridden from ActivityFactory:
virtual Activity* CreateWebActivity(content::BrowserContext* browser_context,
const GURL& url) OVERRIDE;
virtual Activity* CreateAppActivity(
apps::ShellAppWindow* app_window) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ContentActivityFactory);
};
} // namespace athena
#endif // ATHENA_CONTENT_PUBLIC_CONTENT_ACTIVITY_FACTORY_H_
|