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

Unified Diff: athena/activity/public/activity.h

Issue 302683002: athena: Add the concept of Activity and related managers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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/activity/public/DEPS ('k') | athena/activity/public/activity_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/public/activity.h
diff --git a/athena/activity/public/activity.h b/athena/activity/public/activity.h
new file mode 100644
index 0000000000000000000000000000000000000000..00bb2f6c78a3c379866af71e41db18ea6a37ebef
--- /dev/null
+++ b/athena/activity/public/activity.h
@@ -0,0 +1,26 @@
+// 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_ACTIVITY_PUBLIC_ACTIVITY_H_
+#define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_H_
+
+#include <string>
+
+#include "athena/athena_export.h"
+
+namespace athena {
+
+class ActivityViewModel;
+
+class ATHENA_EXPORT Activity {
+ public:
+ virtual ~Activity() {}
+
+ // The Activity retains ownership of the returned view-model.
+ virtual ActivityViewModel* GetActivityViewModel() = 0;
+};
+
+} // namespace athena
+
+#endif // ATHENA_ACTIVITY_PUBLIC_ACTIVITY_H_
« no previous file with comments | « athena/activity/public/DEPS ('k') | athena/activity/public/activity_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698