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

Side by Side Diff: chrome/browser/chromeos/login/helper.h

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 // This file contains helper functions used by Chromium OS login. 5 // This file contains helper functions used by Chromium OS login.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_
8 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ 8 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 30 matching lines...) Expand all
41 class NetworkStateHelper { 41 class NetworkStateHelper {
42 public: 42 public:
43 NetworkStateHelper(); 43 NetworkStateHelper();
44 virtual ~NetworkStateHelper(); 44 virtual ~NetworkStateHelper();
45 45
46 // Returns name of the currently connected network. 46 // Returns name of the currently connected network.
47 // If there are no connected networks, returns name of the network 47 // If there are no connected networks, returns name of the network
48 // that is in the "connecting" state. Otherwise empty string is returned. 48 // that is in the "connecting" state. Otherwise empty string is returned.
49 // If there are multiple connected networks, network priority: 49 // If there are multiple connected networks, network priority:
50 // Ethernet > WiFi > Cellular. Same for connecting network. 50 // Ethernet > WiFi > Cellular. Same for connecting network.
51 virtual string16 GetCurrentNetworkName() const; 51 virtual base::string16 GetCurrentNetworkName() const;
52 52
53 // Returns true if the default network is in connected state. 53 // Returns true if the default network is in connected state.
54 virtual bool IsConnected() const; 54 virtual bool IsConnected() const;
55 55
56 // Returns true if the default network is in connecting state. 56 // Returns true if the default network is in connecting state.
57 virtual bool IsConnecting() const; 57 virtual bool IsConnecting() const;
58 58
59 private: 59 private:
60 DISALLOW_COPY_AND_ASSIGN(NetworkStateHelper); 60 DISALLOW_COPY_AND_ASSIGN(NetworkStateHelper);
61 }; 61 };
62 62
63 } // namespace login 63 } // namespace login
64 64
65 } // namespace chromeos 65 } // namespace chromeos
66 66
67 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ 67 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/fake_user_manager.cc ('k') | chrome/browser/chromeos/login/helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698