| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS 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 "entd/flimflam.h" | 5 #include "entd/flimflam.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <list> | 8 #include <list> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 14 #include "cros/chromeos_network.h" | 14 #include "cros/chromeos_network.h" |
| 15 #include "cros/chromeos_network_deprecated.h" |
| 15 #include "entd/entd.h" | 16 #include "entd/entd.h" |
| 16 #include "entd/utils.h" | 17 #include "entd/utils.h" |
| 17 | 18 |
| 18 namespace entd { | 19 namespace entd { |
| 19 using chromeos::FreeServiceInfo; | 20 using chromeos::FreeServiceInfo; |
| 20 using chromeos::GetWifiService; | 21 using chromeos::GetWifiService; |
| 21 using chromeos::ConfigureWifiService; | 22 using chromeos::ConfigureWifiService; |
| 22 using chromeos::ServiceInfo; | 23 using chromeos::ServiceInfo; |
| 23 | 24 |
| 24 Flimflam::~Flimflam() { | 25 Flimflam::~Flimflam() { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // static | 107 // static |
| 107 void Flimflam::SetTemplateBindings( | 108 void Flimflam::SetTemplateBindings( |
| 108 v8::Handle<v8::ObjectTemplate> template_object) { | 109 v8::Handle<v8::ObjectTemplate> template_object) { |
| 109 template_object->Set(v8::String::NewSymbol("configNetwork"), | 110 template_object->Set(v8::String::NewSymbol("configNetwork"), |
| 110 v8::FunctionTemplate::New(dispatch_configNetwork)); | 111 v8::FunctionTemplate::New(dispatch_configNetwork)); |
| 111 template_object->Set(v8::String::NewSymbol("disconnectNetwork"), | 112 template_object->Set(v8::String::NewSymbol("disconnectNetwork"), |
| 112 v8::FunctionTemplate::New(dispatch_disconnectNetwork)); | 113 v8::FunctionTemplate::New(dispatch_disconnectNetwork)); |
| 113 } | 114 } |
| 114 | 115 |
| 115 } // namespace entd | 116 } // namespace entd |
| OLD | NEW |