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

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

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h"
8 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
9 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
10 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/chromeos/enrollment_dialog_view.h" 14 #include "chrome/browser/chromeos/enrollment_dialog_view.h"
12 #include "chrome/browser/chromeos/net/onc_utils.h" 15 #include "chrome/browser/chromeos/net/onc_utils.h"
13 #include "chrome/browser/chromeos/options/passphrase_textfield.h" 16 #include "chrome/browser/chromeos/options/passphrase_textfield.h"
14 #include "chrome/browser/profiles/profile_manager.h" 17 #include "chrome/browser/profiles/profile_manager.h"
15 #include "chrome/grit/generated_resources.h" 18 #include "chrome/grit/generated_resources.h"
16 #include "chrome/grit/theme_resources.h" 19 #include "chrome/grit/theme_resources.h"
17 #include "chromeos/login/login_state.h" 20 #include "chromeos/login/login_state.h"
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 void WifiConfigView::ParseEAPUIProperty(NetworkPropertyUIData* property_ui_data, 1383 void WifiConfigView::ParseEAPUIProperty(NetworkPropertyUIData* property_ui_data,
1381 const NetworkState* network, 1384 const NetworkState* network,
1382 const std::string& key) { 1385 const std::string& key) {
1383 std::string onc_tag = network->type() == shill::kTypeEthernet 1386 std::string onc_tag = network->type() == shill::kTypeEthernet
1384 ? ::onc::ethernet::kEAP 1387 ? ::onc::ethernet::kEAP
1385 : ::onc::wifi::kEAP; 1388 : ::onc::wifi::kEAP;
1386 ParseUIProperty(property_ui_data, network, onc_tag + '.' + key); 1389 ParseUIProperty(property_ui_data, network, onc_tag + '.' + key);
1387 } 1390 }
1388 1391
1389 } // namespace chromeos 1392 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/options/wifi_config_view.h ('k') | chrome/browser/chromeos/options/wimax_config_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698