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

Unified Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.cc

Issue 14729017: Add NetworkHandler to own network handlers in src/chromeos/network (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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: chrome/browser/chromeos/chrome_browser_main_chromeos.cc
diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
index 9b13dce34625f1d524e2b66f7bf268f9b07feddf..aea11402467d73430477d4921b4f8f8fe95708c2 100644
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
@@ -105,15 +105,9 @@
#include "chromeos/ime/input_method_manager.h"
#include "chromeos/ime/xkeyboard.h"
#include "chromeos/login/login_state.h"
-#include "chromeos/network/cert_loader.h"
-#include "chromeos/network/geolocation_handler.h"
-#include "chromeos/network/managed_network_configuration_handler.h"
#include "chromeos/network/network_change_notifier_chromeos.h"
#include "chromeos/network/network_change_notifier_factory_chromeos.h"
-#include "chromeos/network/network_configuration_handler.h"
-#include "chromeos/network/network_event_log.h"
-#include "chromeos/network/network_profile_handler.h"
-#include "chromeos/network/network_state_handler.h"
+#include "chromeos/network/network_handler.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/power_save_blocker.h"
@@ -306,8 +300,6 @@ class DBusServices {
CrosDBusService::Initialize();
LoginState::Initialize();
- CertLoader::Initialize();
- CertLibrary::Initialize();
CryptohomeLibrary::Initialize();
// This function and SystemKeyEventListener use InputMethodManager.
@@ -321,14 +313,8 @@ class DBusServices {
// Always initialize these handlers which should not conflict with
// NetworkLibrary.
- network_event_log::Initialize();
- GeolocationHandler::Initialize();
- NetworkStateHandler::Initialize();
-
- NetworkProfileHandler* profile_handler =
- NetworkProfileHandler::Initialize();
- NetworkConfigurationHandler::Initialize();
- ManagedNetworkConfigurationHandler::Initialize(profile_handler);
+ NetworkHandler::Initialize();
+ CertLibrary::Initialize();
// Initialize the network change notifier for Chrome OS. The network
// change notifier starts to monitor changes from the power manager and
@@ -370,20 +356,14 @@ class DBusServices {
if (cros_initialized_ && CrosLibrary::Get())
CrosLibrary::Shutdown();
- ManagedNetworkConfigurationHandler::Shutdown();
- NetworkConfigurationHandler::Shutdown();
- NetworkProfileHandler::Shutdown();
-
- NetworkStateHandler::Shutdown();
- GeolocationHandler::Shutdown();
- network_event_log::Shutdown();
+ CertLibrary::Shutdown();
+ NetworkHandler::Shutdown();
cryptohome::AsyncMethodCaller::Shutdown();
disks::DiskMountManager::Shutdown();
input_method::Shutdown();
+
CryptohomeLibrary::Shutdown();
- CertLibrary::Shutdown();
- CertLoader::Shutdown();
LoginState::Shutdown();
CrosDBusService::Shutdown();

Powered by Google App Engine
This is Rietveld 408576698