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

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

Issue 7520037: [cros] Network dropdown button in WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move handle click Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 5600 matching lines...) Expand 10 before | Expand all | Expand 10 after
5611 5611
5612 WifiNetwork* wifi2 = new WifiNetwork("fw2"); 5612 WifiNetwork* wifi2 = new WifiNetwork("fw2");
5613 wifi2->set_name("Fake WiFi"); 5613 wifi2->set_name("Fake WiFi");
5614 wifi2->set_strength(70); 5614 wifi2->set_strength(70);
5615 wifi2->set_connected(false); 5615 wifi2->set_connected(false);
5616 wifi2->set_encryption(SECURITY_NONE); 5616 wifi2->set_encryption(SECURITY_NONE);
5617 wifi2->set_profile_type(PROFILE_SHARED); 5617 wifi2->set_profile_type(PROFILE_SHARED);
5618 AddNetwork(wifi2); 5618 AddNetwork(wifi2);
5619 5619
5620 WifiNetwork* wifi3 = new WifiNetwork("fw3"); 5620 WifiNetwork* wifi3 = new WifiNetwork("fw3");
5621 wifi3->set_name("Fake WiFi Encrypted"); 5621 wifi3->set_name("Fake WiFi Encrypted with a long name");
5622 wifi3->set_strength(60); 5622 wifi3->set_strength(60);
5623 wifi3->set_connected(false); 5623 wifi3->set_connected(false);
5624 wifi3->set_encryption(SECURITY_WEP); 5624 wifi3->set_encryption(SECURITY_WEP);
5625 wifi3->set_passphrase_required(true); 5625 wifi3->set_passphrase_required(true);
5626 wifi3->set_profile_type(PROFILE_USER); 5626 wifi3->set_profile_type(PROFILE_USER);
5627 AddNetwork(wifi3); 5627 AddNetwork(wifi3);
5628 5628
5629 WifiNetwork* wifi4 = new WifiNetwork("fw4"); 5629 WifiNetwork* wifi4 = new WifiNetwork("fw4");
5630 wifi4->set_name("Fake WiFi 802.1x"); 5630 wifi4->set_name("Fake WiFi 802.1x");
5631 wifi4->set_strength(50); 5631 wifi4->set_strength(50);
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
5847 return network_library; 5847 return network_library;
5848 } 5848 }
5849 5849
5850 ///////////////////////////////////////////////////////////////////////////// 5850 /////////////////////////////////////////////////////////////////////////////
5851 5851
5852 } // namespace chromeos 5852 } // namespace chromeos
5853 5853
5854 // Allows InvokeLater without adding refcounting. This class is a Singleton and 5854 // Allows InvokeLater without adding refcounting. This class is a Singleton and
5855 // won't be deleted until it's last InvokeLater is run. 5855 // won't be deleted until it's last InvokeLater is run.
5856 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::NetworkLibraryImplBase); 5856 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::NetworkLibraryImplBase);
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/language_switch_menu.cc » ('j') | chrome/browser/resources/chromeos/login/oobe.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698