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

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
« no previous file with comments | « athena/main/athena_launcher.cc ('k') | athena/test/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/main/athena_main.cc
diff --git a/athena/main/athena_main.cc b/athena/main/athena_main.cc
index e5ea09f377f2b88ca17921a507dda9bac7277708..537e6621a99d24f764b034a97bfdd36b211f015d 100644
--- a/athena/main/athena_main.cc
+++ b/athena/main/athena_main.cc
@@ -7,6 +7,7 @@
#include "apps/shell/browser/shell_desktop_controller.h"
#include "apps/shell/browser/shell_extension_system.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 "base/command_line.h"
@@ -28,7 +29,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));
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(kAppSwitch)) {
base::FilePath app_dir(command_line->GetSwitchValueNative(kAppSwitch));
« no previous file with comments | « athena/main/athena_launcher.cc ('k') | athena/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698