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

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

Issue 108603005: Update uses of Value in chromeos/, cloud_print/, components/, content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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_device_handler_impl.h" 5 #include "chromeos/network/network_device_handler_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chromeos/dbus/dbus_thread_manager.h" 9 #include "chromeos/dbus/dbus_thread_manager.h"
10 #include "chromeos/dbus/shill_device_client.h" 10 #include "chromeos/dbus/shill_device_client.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } else { 62 } else {
63 NET_LOG_EVENT("IPConfigs.Refresh Succeeded", ipconfig_path); 63 NET_LOG_EVENT("IPConfigs.Refresh Succeeded", ipconfig_path);
64 } 64 }
65 } 65 }
66 66
67 void RefreshIPConfigsCallback( 67 void RefreshIPConfigsCallback(
68 const base::Closure& callback, 68 const base::Closure& callback,
69 const network_handler::ErrorCallback& error_callback, 69 const network_handler::ErrorCallback& error_callback,
70 const std::string& device_path, 70 const std::string& device_path,
71 const base::DictionaryValue& properties) { 71 const base::DictionaryValue& properties) {
72 const ListValue* ip_configs; 72 const base::ListValue* ip_configs;
73 if (!properties.GetListWithoutPathExpansion( 73 if (!properties.GetListWithoutPathExpansion(
74 shill::kIPConfigsProperty, &ip_configs)) { 74 shill::kIPConfigsProperty, &ip_configs)) {
75 NET_LOG_ERROR("RequestRefreshIPConfigs Failed", device_path); 75 NET_LOG_ERROR("RequestRefreshIPConfigs Failed", device_path);
76 network_handler::ShillErrorCallbackFunction( 76 network_handler::ShillErrorCallbackFunction(
77 "RequestRefreshIPConfigs Failed", 77 "RequestRefreshIPConfigs Failed",
78 device_path, 78 device_path,
79 error_callback, 79 error_callback,
80 std::string("Missing ") + shill::kIPConfigsProperty, ""); 80 std::string("Missing ") + shill::kIPConfigsProperty, "");
81 return; 81 return;
82 } 82 }
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 dbus::ObjectPath(device_path), 239 dbus::ObjectPath(device_path),
240 old_pin, 240 old_pin,
241 new_pin, 241 new_pin,
242 callback, 242 callback,
243 base::Bind(&HandleShillCallFailure, device_path, error_callback)); 243 base::Bind(&HandleShillCallFailure, device_path, error_callback));
244 } 244 }
245 245
246 NetworkDeviceHandlerImpl::NetworkDeviceHandlerImpl() {} 246 NetworkDeviceHandlerImpl::NetworkDeviceHandlerImpl() {}
247 247
248 } // namespace chromeos 248 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_configuration_handler_unittest.cc ('k') | chromeos/network/network_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698