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

Side by Side Diff: ash/system/chromeos/network/vpn_delegate.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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
« no previous file with comments | « ash/shell.h ('k') | ash/system/chromeos/power/power_status.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SYSTEM_CHROMEOS_NETWORK_VPN_DELEGATE_H 5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_VPN_DELEGATE_H
6 #define ASH_SYSTEM_CHROMEOS_NETWORK_VPN_DELEGATE_H 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_VPN_DELEGATE_H
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 void AddObserver(Observer* observer); 85 void AddObserver(Observer* observer);
86 void RemoveObserver(Observer* observer); 86 void RemoveObserver(Observer* observer);
87 87
88 protected: 88 protected:
89 // Notify observers that the list of VPN providers enabled in the primary 89 // Notify observers that the list of VPN providers enabled in the primary
90 // user's profile has changed. 90 // user's profile has changed.
91 void NotifyObservers(); 91 void NotifyObservers();
92 92
93 private: 93 private:
94 ObserverList<Observer, true> observer_list_; 94 base::ObserverList<Observer, true> observer_list_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(VPNDelegate); 96 DISALLOW_COPY_AND_ASSIGN(VPNDelegate);
97 }; 97 };
98 98
99 } // namespace ash 99 } // namespace ash
100 100
101 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_VPN_DELEGATE_H 101 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_VPN_DELEGATE_H
OLDNEW
« no previous file with comments | « ash/shell.h ('k') | ash/system/chromeos/power/power_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698