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

Unified Diff: athena/test/sample_activity_factory.cc

Issue 335003003: Introduces AppActivity and handler of chrome.shell API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: AppWindowOwner 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 side-by-side diff with in-line comments
Download patch
Index: athena/test/sample_activity_factory.cc
diff --git a/athena/test/sample_activity_factory.cc b/athena/test/sample_activity_factory.cc
index 218bc21afc1504f6263024a233f8757cebf97a22..ad0614c46f22391ae2383e3567f7eb661c86fd7e 100644
--- a/athena/test/sample_activity_factory.cc
+++ b/athena/test/sample_activity_factory.cc
@@ -34,10 +34,9 @@ Activity* SampleActivityFactory::CreateWebActivity(
}
Activity* SampleActivityFactory::CreateAppActivity(
- content::BrowserContext* browser_context,
- const std::string& app_id) {
+ content::WebContents* web_contents) {
return new SampleActivity(
- kDefaultAppColor, kDefaultAppContentColor, base::UTF8ToUTF16(app_id));
+ kDefaultAppColor, kDefaultAppContentColor, base::UTF8ToUTF16("App"));
}
} // namespace test
« athena/main/athena_app_window_controller.cc ('K') | « athena/test/sample_activity_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698