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

Side by Side Diff: ash/common/system/chromeos/network/network_portal_detector_observer.h

Issue 2698473007: Convert path usage in NetworkListViewBase subclasses to use guids. (Closed)
Patch Set: Tweak NetworkPortalNotificationControllerTest to create GUIDs for new NetworkStates. Created 3 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_PORTAL_DETECTOR_OBSERVER_H_ 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_PORTAL_DETECTOR_OBSERVER_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_PORTAL_DETECTOR_OBSERVER_H_ 6 #define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_PORTAL_DETECTOR_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace ash { 10 namespace ash {
11 11
12 class NetworkPortalDetectorObserver { 12 class NetworkPortalDetectorObserver {
13 public: 13 public:
14 virtual ~NetworkPortalDetectorObserver() {} 14 virtual ~NetworkPortalDetectorObserver() {}
15 15
16 // Called when captive portal is detected for a |network|. 16 // Called when captive portal is detected for the network associated with
17 virtual void OnCaptivePortalDetected(const std::string& service_path) = 0; 17 // |guid|.
18 virtual void OnCaptivePortalDetected(const std::string& guid) = 0;
18 }; 19 };
19 20
20 } // namespace ash 21 } // namespace ash
21 22
22 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_PORTAL_DETECTOR_OBSERVER_H _ 23 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_PORTAL_DETECTOR_OBSERVER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698