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

Side by Side Diff: chromeos/dbus/fake_nfc_record_client.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/dbus/fake_nfc_manager_client.h ('k') | chromeos/dbus/fake_nfc_tag_client.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DBUS_FAKE_NFC_RECORD_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_NFC_RECORD_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_NFC_RECORD_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_NFC_RECORD_CLIENT_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const std::string& property_name); 68 const std::string& property_name);
69 69
70 // Called by Properties* structures when GetAll is called. 70 // Called by Properties* structures when GetAll is called.
71 void OnPropertiesReceived(const dbus::ObjectPath& object_path); 71 void OnPropertiesReceived(const dbus::ObjectPath& object_path);
72 72
73 // If true, the records are currently visible. 73 // If true, the records are currently visible.
74 bool device_records_visible_; 74 bool device_records_visible_;
75 bool tag_records_visible_; 75 bool tag_records_visible_;
76 76
77 // List of observers interested in event notifications from us. 77 // List of observers interested in event notifications from us.
78 ObserverList<Observer> observers_; 78 base::ObserverList<Observer> observers_;
79 79
80 // Fake properties that are returned for the fake records. 80 // Fake properties that are returned for the fake records.
81 scoped_ptr<Properties> device_smart_poster_record_properties_; 81 scoped_ptr<Properties> device_smart_poster_record_properties_;
82 scoped_ptr<Properties> device_text_record_properties_; 82 scoped_ptr<Properties> device_text_record_properties_;
83 scoped_ptr<Properties> device_uri_record_properties_; 83 scoped_ptr<Properties> device_uri_record_properties_;
84 scoped_ptr<Properties> tag_record_properties_; 84 scoped_ptr<Properties> tag_record_properties_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(FakeNfcRecordClient); 86 DISALLOW_COPY_AND_ASSIGN(FakeNfcRecordClient);
87 }; 87 };
88 88
89 } // namespace chromeos 89 } // namespace chromeos
90 90
91 #endif // CHROMEOS_DBUS_FAKE_NFC_RECORD_CLIENT_H_ 91 #endif // CHROMEOS_DBUS_FAKE_NFC_RECORD_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_nfc_manager_client.h ('k') | chromeos/dbus/fake_nfc_tag_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698