Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / athena / content / content_activity_factory.cc
blob0503c6068b02634019d8af474900589ff01bd815
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
3 // found in the LICENSE file.
5 #include "athena/content/content_activity_factory.h"
7 #include "athena/content/web_activity.h"
8 #include "base/logging.h"
10 namespace athena {
12 ContentActivityFactory::ContentActivityFactory() {
15 ContentActivityFactory::~ContentActivityFactory() {}
17 Activity* ContentActivityFactory::CreateWebActivity(
18 content::BrowserContext* browser_context,
19 const GURL& url) {
20 return new WebActivity(browser_context, url);
23 ActivityFactory* CreateContentActivityFactory() {
24 return new ContentActivityFactory();
27 } // namespace athena