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

Unified Diff: athena/main/athena_launcher.cc

Issue 513523002: Adding Baseframework of the ResourceManager (all hooks and observers) are being put in place with a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self nits 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 b397fea20c20131c0e7abc9eb12a8297ae27ace0..8cbe49f393afcad2d3e7fb6a4ea7054e6439ca07 100644
--- a/athena/main/athena_launcher.cc
+++ b/athena/main/athena_launcher.cc
@@ -16,6 +16,7 @@
#include "athena/main/placeholder.h"
#include "athena/main/placeholder.h"
#include "athena/main/url_search_provider.h"
+#include "athena/resource_manager/public/resource_manager.h"
#include "athena/screen/public/screen_manager.h"
#include "athena/screen/public/screen_manager.h"
#include "athena/system/public/system_ui.h"
@@ -144,11 +145,13 @@ void StartAthenaSession(athena::ActivityFactory* activity_factory,
athena::AppModelBuilder* app_model_builder) {
athena::HomeCard::Create(app_model_builder);
athena::ActivityManager::Create();
+ athena::ResourceManager::Create();
athena::ActivityFactory::RegisterActivityFactory(activity_factory);
}
void ShutdownAthena() {
athena::ActivityFactory::Shutdown();
+ athena::ResourceManager::Shutdown();
athena::ActivityManager::Shutdown();
athena::HomeCard::Shutdown();
athena::AppRegistry::ShutDown();

Powered by Google App Engine
This is Rietveld 408576698