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

Side by Side Diff: chrome/browser/chromeos/cros/network_library.cc

Issue 11756002: Move cros_network_functions.cc to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clang fixes Created 7 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/cros/network_library.h" 5 #include "chrome/browser/chromeos/cros/network_library.h"
6 6
7 #include "base/i18n/icu_encoding_detection.h" 7 #include "base/i18n/icu_encoding_detection.h"
8 #include "base/i18n/icu_string_conversions.h" 8 #include "base/i18n/icu_string_conversions.h"
9 #include "base/i18n/time_formatting.h" 9 #include "base/i18n/time_formatting.h"
10 #include "base/json/json_writer.h" // for debug output only. 10 #include "base/json/json_writer.h" // for debug output only.
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
12 #include "base/utf_string_conversion_utils.h" 12 #include "base/utf_string_conversion_utils.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/chromeos/cros/certificate_pattern.h" 14 #include "chrome/browser/chromeos/cros/certificate_pattern.h"
15 #include "chrome/browser/chromeos/cros/cros_library.h" 15 #include "chrome/browser/chromeos/cros/cros_library.h"
16 #include "chrome/browser/chromeos/cros/native_network_constants.h" 16 #include "chrome/browser/chromeos/cros/native_network_constants.h"
17 #include "chrome/browser/chromeos/cros/native_network_parser.h" 17 #include "chrome/browser/chromeos/cros/native_network_parser.h"
18 #include "chrome/browser/chromeos/cros/network_library_impl_cros.h" 18 #include "chrome/browser/chromeos/cros/network_library_impl_cros.h"
19 #include "chrome/browser/chromeos/cros/network_library_impl_stub.h" 19 #include "chrome/browser/chromeos/cros/network_library_impl_stub.h"
20 #include "chrome/common/net/url_util.h" 20 #include "chrome/common/net/url_util.h"
21 #include "chrome/common/net/x509_certificate_model.h" 21 #include "chrome/common/net/x509_certificate_model.h"
22 #include "chromeos/network/cros_network_functions.h"
22 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
23 #include "grit/generated_resources.h" 24 #include "grit/generated_resources.h"
24 #include "third_party/cros_system_api/dbus/service_constants.h" 25 #include "third_party/cros_system_api/dbus/service_constants.h"
25 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
26 27
27 using content::BrowserThread; 28 using content::BrowserThread;
28 29
29 //////////////////////////////////////////////////////////////////////////////// 30 ////////////////////////////////////////////////////////////////////////////////
30 // Implementation notes. 31 // Implementation notes.
31 // NetworkLibraryImpl manages a series of classes that describe network devices 32 // NetworkLibraryImpl manages a series of classes that describe network devices
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 791
791 //////////////////////////////////////////////////////////////////////////////// 792 ////////////////////////////////////////////////////////////////////////////////
792 // WirelessNetwork 793 // WirelessNetwork
793 794
794 //////////////////////////////////////////////////////////////////////////////// 795 ////////////////////////////////////////////////////////////////////////////////
795 // CellTower 796 // CellTower
796 797
797 CellTower::CellTower() {} 798 CellTower::CellTower() {}
798 799
799 //////////////////////////////////////////////////////////////////////////////// 800 ////////////////////////////////////////////////////////////////////////////////
800 // WifiAccessPoint
801
802 WifiAccessPoint::WifiAccessPoint() {}
803
804 ////////////////////////////////////////////////////////////////////////////////
805 // CellularApn 801 // CellularApn
806 802
807 CellularApn::CellularApn() {} 803 CellularApn::CellularApn() {}
808 804
809 CellularApn::CellularApn( 805 CellularApn::CellularApn(
810 const std::string& apn, const std::string& network_id, 806 const std::string& apn, const std::string& network_id,
811 const std::string& username, const std::string& password) 807 const std::string& username, const std::string& password)
812 : apn(apn), network_id(network_id), 808 : apn(apn), network_id(network_id),
813 username(username), password(password) { 809 username(username), password(password) {
814 } 810 }
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 NetworkLibrary* impl; 1346 NetworkLibrary* impl;
1351 if (stub) 1347 if (stub)
1352 impl = new NetworkLibraryImplStub(); 1348 impl = new NetworkLibraryImplStub();
1353 else 1349 else
1354 impl = new NetworkLibraryImplCros(); 1350 impl = new NetworkLibraryImplCros();
1355 impl->Init(); 1351 impl->Init();
1356 return impl; 1352 return impl;
1357 } 1353 }
1358 1354
1359 } // namespace chromeos 1355 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.h ('k') | chrome/browser/chromeos/cros/network_library_impl_cros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698