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