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

Unified Diff: athena/content/content_activity_factory.cc

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/content/content_activity_factory.h ('k') | athena/content/content_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/content_activity_factory.cc
diff --git a/athena/content/content_activity_factory.cc b/athena/content/content_activity_factory.cc
deleted file mode 100644
index f6b3dd8da121c035732c70b0318aa1afa6c02743..0000000000000000000000000000000000000000
--- a/athena/content/content_activity_factory.cc
+++ /dev/null
@@ -1,50 +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.
-
-#include "athena/content/content_activity_factory.h"
-
-#include "athena/activity/public/activity_manager.h"
-#include "athena/content/app_activity.h"
-#include "athena/content/web_activity.h"
-#include "base/logging.h"
-#include "ui/aura/window.h"
-
-namespace athena {
-
-ContentActivityFactory::ContentActivityFactory() {
-}
-
-ContentActivityFactory::~ContentActivityFactory() {}
-
-Activity* ContentActivityFactory::CreateWebActivity(
- content::BrowserContext* browser_context,
- const base::string16& title,
- const GURL& url) {
- Activity* activity = new WebActivity(browser_context, title, url);
- ActivityManager::Get()->AddActivity(activity);
- activity->GetWindow()->SetName("WebActivity");
- return activity;
-}
-
-Activity* ContentActivityFactory::CreateWebActivity(
- content::WebContents* contents) {
- Activity* activity = new WebActivity(contents);
- ActivityManager::Get()->AddActivity(activity);
- return activity;
-}
-
-Activity* ContentActivityFactory::CreateAppActivity(
- const std::string& app_id,
- views::WebView* web_view) {
- Activity* activity = new AppActivity(app_id, web_view);
- ActivityManager::Get()->AddActivity(activity);
- activity->GetWindow()->SetName("AppActivity");
- return activity;
-}
-
-ActivityFactory* CreateContentActivityFactory() {
- return new ContentActivityFactory();
-}
-
-} // namespace athena
« no previous file with comments | « athena/content/content_activity_factory.h ('k') | athena/content/content_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698