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

Side by Side Diff: chrome/browser/chromeos/net/network_portal_detector.h

Issue 99223009: Fixed current OOBE captive portal metrics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 6 years, 11 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_NET_NETWORK_PORTAL_DETECTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "net/url_request/url_fetcher.h" 9 #include "net/url_request/url_fetcher.h"
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 // Creates an instance of the NetworkPortalDetector. 110 // Creates an instance of the NetworkPortalDetector.
111 static void Initialize(); 111 static void Initialize();
112 112
113 // Deletes the instance of the NetworkPortalDetector. 113 // Deletes the instance of the NetworkPortalDetector.
114 static void Shutdown(); 114 static void Shutdown();
115 115
116 // Gets the instance of the NetworkPortalDetector. 116 // Gets the instance of the NetworkPortalDetector.
117 static NetworkPortalDetector* Get(); 117 static NetworkPortalDetector* Get();
118 118
119 // Returns non-localized string representation of |status|.
120 static std::string CaptivePortalStatusString(CaptivePortalStatus status);
121
119 protected: 122 protected:
120 NetworkPortalDetector() {} 123 NetworkPortalDetector() {}
121 virtual ~NetworkPortalDetector() {} 124 virtual ~NetworkPortalDetector() {}
122 125
123 private: 126 private:
124 DISALLOW_COPY_AND_ASSIGN(NetworkPortalDetector); 127 DISALLOW_COPY_AND_ASSIGN(NetworkPortalDetector);
125 }; 128 };
126 129
127 } // namespace chromeos 130 } // namespace chromeos
128 131
129 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_H_ 132 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698