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

Side by Side Diff: chrome/browser/chromeos/network_list.h

Issue 4235005: Push for ers:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_CHROMEOS_NETWORK_LIST_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_NETWORK_LIST_H_
6 #define CHROME_BROWSER_CHROMEOS_NETWORK_LIST_H_ 6 #define CHROME_BROWSER_CHROMEOS_NETWORK_LIST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // Returns number of networks. 77 // Returns number of networks.
78 size_t GetNetworkCount() const { 78 size_t GetNetworkCount() const {
79 return networks_.size(); 79 return networks_.size();
80 } 80 }
81 81
82 // Returns network by index. 82 // Returns network by index.
83 NetworkList::NetworkItem* GetNetworkAt(int index); 83 NetworkList::NetworkItem* GetNetworkAt(int index);
84 84
85 // Callback from NetworkLibrary. 85 // Callback from NetworkLibrary.
86 void NetworkChanged(chromeos::NetworkLibrary* network_lib); 86 void OnNetworkManagerChanged(chromeos::NetworkLibrary* network_lib);
87 87
88 private: 88 private:
89 typedef std::vector<NetworkItem> NetworkItemVector; 89 typedef std::vector<NetworkItem> NetworkItemVector;
90 typedef std::vector<size_t> NetworkIndexVector; 90 typedef std::vector<size_t> NetworkIndexVector;
91 91
92 // Returns true if the specified network is in the list. 92 // Returns true if the specified network is in the list.
93 bool IsInNetworkList(const NetworkIndexVector& list, 93 bool IsInNetworkList(const NetworkIndexVector& list,
94 NetworkType type, 94 NetworkType type,
95 const string16& id) const; 95 const string16& id) const;
96 96
(...skipping 14 matching lines...) Expand all
111 111
112 // Connecting networks indexes. 112 // Connecting networks indexes.
113 NetworkIndexVector connecting_networks_; 113 NetworkIndexVector connecting_networks_;
114 114
115 DISALLOW_COPY_AND_ASSIGN(NetworkList); 115 DISALLOW_COPY_AND_ASSIGN(NetworkList);
116 }; 116 };
117 117
118 } // namespace chromeos 118 } // namespace chromeos
119 119
120 #endif // CHROME_BROWSER_CHROMEOS_NETWORK_LIST_H_ 120 #endif // CHROME_BROWSER_CHROMEOS_NETWORK_LIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/network_screen_delegate.h ('k') | chrome/browser/chromeos/network_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698