Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2629)

Unified Diff: athena/test/sample_activity_factory.h

Issue 316323002: Introduces ActivityFactory for SampleActivity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/test/sample_activity.cc ('k') | athena/test/sample_activity_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/sample_activity_factory.h
diff --git a/athena/content/public/content_activity_factory.h b/athena/test/sample_activity_factory.h
similarity index 55%
copy from athena/content/public/content_activity_factory.h
copy to athena/test/sample_activity_factory.h
index 25d6fe476050b0de2500b367437a2135dfc8d6e0..a02d4177313cff7ad2de7f4702282d006ce7500b 100644
--- a/athena/content/public/content_activity_factory.h
+++ b/athena/test/sample_activity_factory.h
@@ -2,28 +2,29 @@
// 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_
+#ifndef ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_
+#define ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_
#include "athena/activity/public/activity_factory.h"
-#include "athena/athena_export.h"
#include "base/macros.h"
namespace athena {
+namespace test {
-class ATHENA_EXPORT ContentActivityFactory : public ActivityFactory {
+class SampleActivityFactory : public ActivityFactory {
public:
- ContentActivityFactory();
- virtual ~ContentActivityFactory();
+ SampleActivityFactory();
+ virtual ~SampleActivityFactory();
// Overridden from ActivityFactory:
virtual Activity* CreateWebActivity(content::BrowserContext* browser_context,
const GURL& url) OVERRIDE;
private:
- DISALLOW_COPY_AND_ASSIGN(ContentActivityFactory);
+ DISALLOW_COPY_AND_ASSIGN(SampleActivityFactory);
};
+} // namespace test
} // namespace athena
-#endif // ATHENA_CONTENT_PUBLIC_CONTENT_ACTIVITY_FACTORY_H_
+#endif // ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_
« no previous file with comments | « athena/test/sample_activity.cc ('k') | athena/test/sample_activity_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698