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

Side by Side Diff: chromeos/network/network_handler.cc

Issue 20130002: Call crypto::InitializeTPMToken on the IO thread (Take 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser tests Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/network/network_handler.h" 5 #include "chromeos/network/network_handler.h"
6 6
7 #include "chromeos/dbus/dbus_thread_manager.h" 7 #include "chromeos/dbus/dbus_thread_manager.h"
8 #include "chromeos/network/cert_loader.h" 8 #include "chromeos/network/cert_loader.h"
9 #include "chromeos/network/geolocation_handler.h" 9 #include "chromeos/network/geolocation_handler.h"
10 #include "chromeos/network/managed_network_configuration_handler.h" 10 #include "chromeos/network/managed_network_configuration_handler.h"
(...skipping 24 matching lines...) Expand all
35 new ManagedNetworkConfigurationHandler()); 35 new ManagedNetworkConfigurationHandler());
36 network_connection_handler_.reset(new NetworkConnectionHandler()); 36 network_connection_handler_.reset(new NetworkConnectionHandler());
37 geolocation_handler_.reset(new GeolocationHandler()); 37 geolocation_handler_.reset(new GeolocationHandler());
38 } 38 }
39 39
40 NetworkHandler::~NetworkHandler() { 40 NetworkHandler::~NetworkHandler() {
41 network_event_log::Shutdown(); 41 network_event_log::Shutdown();
42 } 42 }
43 43
44 void NetworkHandler::Init() { 44 void NetworkHandler::Init() {
45 cert_loader_->Init();
45 network_state_handler_->InitShillPropertyHandler(); 46 network_state_handler_->InitShillPropertyHandler();
46 network_profile_handler_->Init(network_state_handler_.get()); 47 network_profile_handler_->Init(network_state_handler_.get());
47 network_configuration_handler_->Init(network_state_handler_.get()); 48 network_configuration_handler_->Init(network_state_handler_.get());
48 managed_network_configuration_handler_->Init( 49 managed_network_configuration_handler_->Init(
49 network_state_handler_.get(), 50 network_state_handler_.get(),
50 network_profile_handler_.get(), 51 network_profile_handler_.get(),
51 network_configuration_handler_.get()); 52 network_configuration_handler_.get());
52 network_connection_handler_->Init(cert_loader_.get(), 53 network_connection_handler_->Init(cert_loader_.get(),
53 network_state_handler_.get(), 54 network_state_handler_.get(),
54 network_configuration_handler_.get()); 55 network_configuration_handler_.get());
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 109
109 NetworkConnectionHandler* NetworkHandler::network_connection_handler() { 110 NetworkConnectionHandler* NetworkHandler::network_connection_handler() {
110 return network_connection_handler_.get(); 111 return network_connection_handler_.get();
111 } 112 }
112 113
113 GeolocationHandler* NetworkHandler::geolocation_handler() { 114 GeolocationHandler* NetworkHandler::geolocation_handler() {
114 return geolocation_handler_.get(); 115 return geolocation_handler_.get();
115 } 116 }
116 117
117 } // namespace chromeos 118 } // namespace chromeos
OLDNEW
« chromeos/network/cert_loader.cc ('K') | « chromeos/network/cert_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698