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

Side by Side Diff: extensions/browser/api/networking_private/networking_private_linux.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 EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_
6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 base::Thread dbus_thread_; 250 base::Thread dbus_thread_;
251 // DBus instance. Only access on |dbus_thread_|. 251 // DBus instance. Only access on |dbus_thread_|.
252 scoped_refptr<dbus::Bus> dbus_; 252 scoped_refptr<dbus::Bus> dbus_;
253 // Task runner used by the |dbus_| object. 253 // Task runner used by the |dbus_| object.
254 scoped_refptr<base::SequencedTaskRunner> dbus_task_runner_; 254 scoped_refptr<base::SequencedTaskRunner> dbus_task_runner_;
255 // This is owned by |dbus_| object. Only access on |dbus_thread_|. 255 // This is owned by |dbus_| object. Only access on |dbus_thread_|.
256 dbus::ObjectProxy* network_manager_proxy_; 256 dbus::ObjectProxy* network_manager_proxy_;
257 // Holds the current mapping of known networks. Only access on |dbus_thread_|. 257 // Holds the current mapping of known networks. Only access on |dbus_thread_|.
258 scoped_ptr<NetworkMap> network_map_; 258 scoped_ptr<NetworkMap> network_map_;
259 // Observers to Network Events. 259 // Observers to Network Events.
260 ObserverList<NetworkingPrivateDelegateObserver> network_events_observers_; 260 base::ObserverList<NetworkingPrivateDelegateObserver>
261 network_events_observers_;
261 262
262 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinux); 263 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinux);
263 }; 264 };
264 265
265 } // namespace extensions 266 } // namespace extensions
266 267
267 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ 268 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698