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

Side by Side Diff: flimflam.cc

Issue 6609045: Add chromeos_network_deprecated.h (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/entd.git@master
Patch Set: Created 9 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698