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

Side by Side Diff: chrome/browser/chromeos/options/wifi_config_view.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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
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/options/wifi_config_view.h" 5 #include "chrome/browser/chromeos/options/wifi_config_view.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/stringprintf.h"
13 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
14 #include "chrome/browser/chromeos/enrollment_dialog_view.h" 13 #include "chrome/browser/chromeos/enrollment_dialog_view.h"
15 #include "chrome/browser/chromeos/net/shill_error.h" 14 #include "chrome/browser/chromeos/net/shill_error.h"
16 #include "chrome/browser/chromeos/options/passphrase_textfield.h" 15 #include "chrome/browser/chromeos/options/passphrase_textfield.h"
17 #include "chrome/browser/profiles/profile_manager.h" 16 #include "chrome/browser/profiles/profile_manager.h"
18 #include "chrome/grit/generated_resources.h" 17 #include "chrome/grit/generated_resources.h"
19 #include "chrome/grit/theme_resources.h" 18 #include "chrome/grit/theme_resources.h"
20 #include "chromeos/login/login_state.h" 19 #include "chromeos/login/login_state.h"
21 #include "chromeos/network/client_cert_util.h" 20 #include "chromeos/network/client_cert_util.h"
22 #include "chromeos/network/network_configuration_handler.h" 21 #include "chromeos/network/network_configuration_handler.h"
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1385 void WifiConfigView::ParseEAPUIProperty(NetworkPropertyUIData* property_ui_data, 1384 void WifiConfigView::ParseEAPUIProperty(NetworkPropertyUIData* property_ui_data,
1386 const NetworkState* network, 1385 const NetworkState* network,
1387 const std::string& key) { 1386 const std::string& key) {
1388 std::string onc_tag = network->type() == shill::kTypeEthernet 1387 std::string onc_tag = network->type() == shill::kTypeEthernet
1389 ? ::onc::ethernet::kEAP 1388 ? ::onc::ethernet::kEAP
1390 : ::onc::wifi::kEAP; 1389 : ::onc::wifi::kEAP;
1391 ParseUIProperty(property_ui_data, network, onc_tag + '.' + key); 1390 ParseUIProperty(property_ui_data, network, onc_tag + '.' + key);
1392 } 1391 }
1393 1392
1394 } // namespace chromeos 1393 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/version_info_updater.cc ('k') | chrome/browser/chromeos/options/wimax_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698