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

Side by Side Diff: athena/activity/public/activity_factory.h

Issue 311113005: AppModelBuilder to athena. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | athena/athena.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_ 5 #ifndef ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_
6 #define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_ 6 #define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_
7 7
8 #include "athena/athena_export.h" 8 #include "athena/athena_export.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 13 matching lines...) Expand all
24 static ActivityFactory* Get(); 24 static ActivityFactory* Get();
25 25
26 // Shutdowns the factory. 26 // Shutdowns the factory.
27 static void Shutdown(); 27 static void Shutdown();
28 28
29 virtual ~ActivityFactory() {} 29 virtual ~ActivityFactory() {}
30 30
31 // Create an activity of a web page. 31 // Create an activity of a web page.
32 virtual Activity* CreateWebActivity(content::BrowserContext* browser_context, 32 virtual Activity* CreateWebActivity(content::BrowserContext* browser_context,
33 const GURL& url) = 0; 33 const GURL& url) = 0;
34
35 // Create an activity of an app.
36 virtual Activity* CreateAppActivity(content::BrowserContext* browser_context,
37 const std::string& app_id) = 0;
34 }; 38 };
35 39
36 } // namespace athena 40 } // namespace athena
37 41
38 #endif // ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_ 42 #endif // ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | athena/athena.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698