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

Side by Side Diff: components/proximity_auth/screenlock_bridge.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
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 COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ 5 #ifndef COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_
6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ 6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 LockHandler* lock_handler() { return lock_handler_; } 174 LockHandler* lock_handler() { return lock_handler_; }
175 175
176 std::string focused_user_id() const { return focused_user_id_; } 176 std::string focused_user_id() const { return focused_user_id_; }
177 177
178 private: 178 private:
179 ProximityAuthClient* client_; // Not owned. Must outlive this object. 179 ProximityAuthClient* client_; // Not owned. Must outlive this object.
180 LockHandler* lock_handler_; // Not owned 180 LockHandler* lock_handler_; // Not owned
181 // The last focused user's id. 181 // The last focused user's id.
182 std::string focused_user_id_; 182 std::string focused_user_id_;
183 ObserverList<Observer, true> observers_; 183 base::ObserverList<Observer, true> observers_;
184 184
185 DISALLOW_COPY_AND_ASSIGN(ScreenlockBridge); 185 DISALLOW_COPY_AND_ASSIGN(ScreenlockBridge);
186 }; 186 };
187 187
188 } // namespace proximity_auth 188 } // namespace proximity_auth
189 189
190 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ 190 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_
OLDNEW
« no previous file with comments | « components/proximity_auth/logging/log_buffer.h ('k') | components/renderer_context_menu/render_view_context_menu_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698