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

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: Fix chromeos_unittests 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
« no previous file with comments | « ash/system/chromeos/network/tray_vpn.cc ('k') | chrome/browser/chromeos/cros/cert_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8c78bce1323821acb9ed4989c971e83404be29f6..3c70a6e21e1425b189f8e2ef61dfe57763040c3a 100644
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
@@ -107,16 +107,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_connection_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 "chromeos/power/power_manager_handler.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
@@ -315,8 +308,6 @@ class DBusServices {
CrosDBusService::Initialize();
LoginState::Initialize();
- CertLoader::Initialize();
- CertLibrary::Initialize();
CryptohomeLibrary::Initialize();
// This function and SystemKeyEventListener use InputMethodManager.
@@ -330,15 +321,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);
- NetworkConnectionHandler::Initialize();
+ 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
@@ -380,21 +364,14 @@ class DBusServices {
if (cros_initialized_ && CrosLibrary::Get())
CrosLibrary::Shutdown();
- NetworkConnectionHandler::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();
« no previous file with comments | « ash/system/chromeos/network/tray_vpn.cc ('k') | chrome/browser/chromeos/cros/cert_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698