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

Unified Diff: athena/main/athena_launcher.cc

Issue 477523002: Athena: Adding basic resource management framework (un-/re-loading) of V2 applications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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_launcher.cc
diff --git a/athena/main/athena_launcher.cc b/athena/main/athena_launcher.cc
index 04b55a77f2981ad82955f8b15ebdfe329f1622e3..fcca0a8c8d798d2fb7a6bc40bfeb41ec11f1b83e 100644
--- a/athena/main/athena_launcher.cc
+++ b/athena/main/athena_launcher.cc
@@ -6,6 +6,7 @@
#include "athena/activity/public/activity_factory.h"
#include "athena/activity/public/activity_manager.h"
+#include "athena/content/public/app_registry.h"
#include "athena/home/public/home_card.h"
#include "athena/input/public/input_manager.h"
#include "athena/main/placeholder.h"
@@ -72,6 +73,7 @@ void StartAthena(aura::Window* root_window,
athena::SystemUI::Create();
athena::InputManager::Create()->OnRootWindowCreated(root_window);
athena::ScreenManager::Create(root_window);
+ athena::AppRegistry::Create();
athena::WindowManager::Create();
athena::HomeCard::Create(app_model_builder);
athena::ActivityManager::Create();
@@ -84,6 +86,7 @@ void ShutdownAthena() {
athena::ActivityManager::Shutdown();
athena::HomeCard::Shutdown();
athena::WindowManager::Shutdown();
+ athena::AppRegistry::ShutDown();
athena::ScreenManager::Shutdown();
athena::InputManager::Shutdown();
athena::SystemUI::Shutdown();

Powered by Google App Engine
This is Rietveld 408576698