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

Side by Side Diff: athena/content/content_activity_factory.cc

Issue 544813002: Support V1 app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comment Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "athena/content/content_activity_factory.h" 5 #include "athena/content/content_activity_factory.h"
6 6
7 #include "athena/content/web_activity.h" 7 #include "athena/content/web_activity.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 9
10 namespace athena { 10 namespace athena {
11 11
12 ContentActivityFactory::ContentActivityFactory() { 12 ContentActivityFactory::ContentActivityFactory() {
13 } 13 }
14 14
15 ContentActivityFactory::~ContentActivityFactory() {} 15 ContentActivityFactory::~ContentActivityFactory() {}
16 16
17 Activity* ContentActivityFactory::CreateWebActivity( 17 Activity* ContentActivityFactory::CreateWebActivity(
18 content::BrowserContext* browser_context, 18 content::BrowserContext* browser_context,
19 const base::string16& title,
19 const GURL& url) { 20 const GURL& url) {
20 return new WebActivity(browser_context, url); 21 return new WebActivity(browser_context, title, url);
21 } 22 }
22 23
23 ActivityFactory* CreateContentActivityFactory() { 24 ActivityFactory* CreateContentActivityFactory() {
24 return new ContentActivityFactory(); 25 return new ContentActivityFactory();
25 } 26 }
26 27
27 } // namespace athena 28 } // namespace athena
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698