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

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

Issue 289383004: Merge FavoriteState into NetworkState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 "base/threading/worker_pool.h" 7 #include "base/threading/worker_pool.h"
8 #include "chromeos/dbus/dbus_thread_manager.h" 8 #include "chromeos/dbus/dbus_thread_manager.h"
9 #include "chromeos/network/client_cert_resolver.h" 9 #include "chromeos/network/client_cert_resolver.h"
10 #include "chromeos/network/geolocation_handler.h" 10 #include "chromeos/network/geolocation_handler.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 geolocation_handler_.reset(new GeolocationHandler()); 47 geolocation_handler_.reset(new GeolocationHandler());
48 } 48 }
49 49
50 NetworkHandler::~NetworkHandler() { 50 NetworkHandler::~NetworkHandler() {
51 network_event_log::Shutdown(); 51 network_event_log::Shutdown();
52 } 52 }
53 53
54 void NetworkHandler::Init() { 54 void NetworkHandler::Init() {
55 network_state_handler_->InitShillPropertyHandler(); 55 network_state_handler_->InitShillPropertyHandler();
56 network_device_handler_->Init(network_state_handler_.get()); 56 network_device_handler_->Init(network_state_handler_.get());
57 network_profile_handler_->Init(network_state_handler_.get()); 57 network_profile_handler_->Init();
58 network_configuration_handler_->Init(network_state_handler_.get()); 58 network_configuration_handler_->Init(network_state_handler_.get());
59 managed_network_configuration_handler_->Init( 59 managed_network_configuration_handler_->Init(
60 network_state_handler_.get(), 60 network_state_handler_.get(),
61 network_profile_handler_.get(), 61 network_profile_handler_.get(),
62 network_configuration_handler_.get(), 62 network_configuration_handler_.get(),
63 network_device_handler_.get()); 63 network_device_handler_.get());
64 network_connection_handler_->Init( 64 network_connection_handler_->Init(
65 network_state_handler_.get(), 65 network_state_handler_.get(),
66 network_configuration_handler_.get(), 66 network_configuration_handler_.get(),
67 managed_network_configuration_handler_.get()); 67 managed_network_configuration_handler_.get());
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 NetworkSmsHandler* NetworkHandler::network_sms_handler() { 133 NetworkSmsHandler* NetworkHandler::network_sms_handler() {
134 return network_sms_handler_.get(); 134 return network_sms_handler_.get();
135 } 135 }
136 136
137 GeolocationHandler* NetworkHandler::geolocation_handler() { 137 GeolocationHandler* NetworkHandler::geolocation_handler() {
138 return geolocation_handler_.get(); 138 return geolocation_handler_.get();
139 } 139 }
140 140
141 } // namespace chromeos 141 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_connection_handler_unittest.cc ('k') | chromeos/network/network_profile_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698