Index: athena/test/sample_activity_factory.cc |
diff --git a/athena/test/sample_activity_factory.cc b/athena/test/sample_activity_factory.cc |
index af2d1477766dc9727d61c8bfcc2a6903e5efeeed..4c46f269c38d92169a21aec67b2732d5696ed07e 100644 |
--- a/athena/test/sample_activity_factory.cc |
+++ b/athena/test/sample_activity_factory.cc |
@@ -25,8 +25,14 @@ SampleActivityFactory::~SampleActivityFactory() {} |
Activity* SampleActivityFactory::CreateWebActivity( |
content::BrowserContext* browser_context, |
const GURL& url) { |
+ return CreateAppActivity(browser_context, url.spec()); |
+} |
+ |
+Activity* SampleActivityFactory::CreateAppActivity( |
+ content::BrowserContext* browser_context, |
+ const std::string& app_id) { |
return new SampleActivity( |
- kDefaultColor, kDefaultContentColor, url.spec()); |
+ kDefaultColor, kDefaultContentColor, app_id); |
oshima
2014/06/06 23:39:00
maybe different colors?
Jun Mukai
2014/06/09 20:33:13
Done.
|
} |
} // namespace test |