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

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

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/activity.h ('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_factory.h
diff --git a/athena/activity/public/activity_factory.h b/athena/activity/public/activity_factory.h
deleted file mode 100644
index 2680e5325fc4f496804bab777ab3281e50b41115..0000000000000000000000000000000000000000
--- a/athena/activity/public/activity_factory.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// 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_FACTORY_H_
-#define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_
-
-#include <string>
-
-#include "athena/athena_export.h"
-#include "url/gurl.h"
-
-namespace content {
-class BrowserContext;
-class WebContents;
-}
-
-namespace views {
-class WebView;
-}
-
-namespace athena {
-class Activity;
-
-class ATHENA_EXPORT ActivityFactory {
- public:
- // Registers the singleton factory.
- static void RegisterActivityFactory(ActivityFactory* factory);
-
- // Gets the registered singleton factory.
- static ActivityFactory* Get();
-
- // Shutdowns the factory.
- static void Shutdown();
-
- virtual ~ActivityFactory() {}
-
- // Create an activity of a web page. If |title| is empty, the title will be
- // obtained from the web contents.
- virtual Activity* CreateWebActivity(content::BrowserContext* browser_context,
- const base::string16& title,
- const GURL& url) = 0;
-
- // Create an activity with |contents|. The title is obtained from the web
- // contents.
- virtual Activity* CreateWebActivity(content::WebContents* contents) = 0;
-
- // Create an activity of an app with |app_id| and
- // |web_view| that will host the content.
- virtual Activity* CreateAppActivity(const std::string& app_id,
- views::WebView* web_view) = 0;
-};
-
-} // namespace athena
-
-#endif // ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_
« no previous file with comments | « athena/activity/public/activity.h ('k') | athena/activity/public/activity_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698