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

Side by Side Diff: chromeos/network/network_sms_handler.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 | « chromeos/network/network_profile_handler.h ('k') | chromeos/network/network_state_handler.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROMEOS_NETWORK_NETWORK_SMS_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_SMS_HANDLER_H_
6 #define CHROMEOS_NETWORK_NETWORK_SMS_HANDLER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_SMS_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Requests properties for each entry in |devices|. 83 // Requests properties for each entry in |devices|.
84 void UpdateDevices(const base::ListValue* devices); 84 void UpdateDevices(const base::ListValue* devices);
85 85
86 // Callback to handle the device properties for |device_path|. 86 // Callback to handle the device properties for |device_path|.
87 // A NetworkSmsDeviceHandler will be instantiated for each cellular device. 87 // A NetworkSmsDeviceHandler will be instantiated for each cellular device.
88 void DevicePropertiesCallback(const std::string& device_path, 88 void DevicePropertiesCallback(const std::string& device_path,
89 DBusMethodCallStatus call_status, 89 DBusMethodCallStatus call_status,
90 const base::DictionaryValue& properties); 90 const base::DictionaryValue& properties);
91 91
92 ObserverList<Observer> observers_; 92 base::ObserverList<Observer> observers_;
93 ScopedVector<NetworkSmsDeviceHandler> device_handlers_; 93 ScopedVector<NetworkSmsDeviceHandler> device_handlers_;
94 ScopedVector<base::DictionaryValue> received_messages_; 94 ScopedVector<base::DictionaryValue> received_messages_;
95 base::WeakPtrFactory<NetworkSmsHandler> weak_ptr_factory_; 95 base::WeakPtrFactory<NetworkSmsHandler> weak_ptr_factory_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(NetworkSmsHandler); 97 DISALLOW_COPY_AND_ASSIGN(NetworkSmsHandler);
98 }; 98 };
99 99
100 } // namespace 100 } // namespace
101 101
102 #endif // CHROMEOS_NETWORK_NETWORK_SMS_HANDLER_H_ 102 #endif // CHROMEOS_NETWORK_NETWORK_SMS_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/network/network_profile_handler.h ('k') | chromeos/network/network_state_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698