Pipeline: Handle the case where Seek() is called after error happened.
[chromium-blink-merge.git] / athena / content / public / content_activity_factory.h
blob2d41441ae8855c468a918fab6ce0d034dc6e94f8
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_CONTENT_PUBLIC_CONTENT_ACTIVITY_FACTORY_H_
6 #define ATHENA_CONTENT_PUBLIC_CONTENT_ACTIVITY_FACTORY_H_
8 #include "athena/activity/public/activity_factory.h"
9 #include "athena/athena_export.h"
10 #include "base/macros.h"
12 namespace athena {
14 class ATHENA_EXPORT ContentActivityFactory : public ActivityFactory {
15 public:
16 ContentActivityFactory();
17 virtual ~ContentActivityFactory();
19 // Overridden from ActivityFactory:
20 virtual Activity* CreateWebActivity(content::BrowserContext* browser_context,
21 const GURL& url) OVERRIDE;
22 virtual Activity* CreateAppActivity(
23 extensions::ShellAppWindow* app_window) OVERRIDE;
25 private:
26 DISALLOW_COPY_AND_ASSIGN(ContentActivityFactory);
29 } // namespace athena
31 #endif // ATHENA_CONTENT_PUBLIC_CONTENT_ACTIVITY_FACTORY_H_