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

Unified Diff: athena/main/athena_main.cc

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 side-by-side diff with in-line comments
Download patch
Index: athena/main/athena_main.cc
diff --git a/athena/main/athena_main.cc b/athena/main/athena_main.cc
index 99f5fa0ae256098adc0cb3f90e6b386e16ac2ce7..b76e14e15b31f5ef4da2b2195bea27d7a301432a 100644
--- a/athena/main/athena_main.cc
+++ b/athena/main/athena_main.cc
@@ -6,6 +6,7 @@
#include "apps/shell/browser/shell_browser_main_delegate.h"
#include "apps/shell/browser/shell_desktop_controller.h"
#include "athena/content/public/content_activity_factory.h"
+#include "athena/content/public/content_app_model_builder.h"
#include "athena/main/athena_launcher.h"
#include "athena/main/placeholder.h"
#include "content/public/app/content_main.h"
@@ -21,7 +22,8 @@ class AthenaBrowserMainDelegate : public apps::ShellBrowserMainDelegate {
virtual void Start(content::BrowserContext* context) OVERRIDE {
athena::StartAthena(
apps::ShellDesktopController::instance()->host()->window(),
- new athena::ContentActivityFactory());
+ new athena::ContentActivityFactory(),
+ new athena::ContentAppModelBuilder(context));
CreateTestPages(context);
}

Powered by Google App Engine
This is Rietveld 408576698