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

Side by Side Diff: chromeos/dbus/dbus_thread_manager_observer.h

Issue 11091051: chromeos: Fix interface nits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/contacts/contact_database.h ('k') | no next file » | 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_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_ 5 #ifndef CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_
6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_ 6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_
7 7
8 #include "base/basictypes.h"
9
10 namespace chromeos { 8 namespace chromeos {
11 9
12 class DBusThreadManager; 10 class DBusThreadManager;
13 11
14 // Interface for classes that are interested in observing changes to the 12 // Interface for classes that are interested in observing changes to the
15 // DBusThreadManager. 13 // DBusThreadManager.
16 class DBusThreadManagerObserver { 14 class DBusThreadManagerObserver {
17 public: 15 public:
18 DBusThreadManagerObserver() {}
19 virtual ~DBusThreadManagerObserver() {}
20
21 // Called when |manager| is about to be destroyed. |manager| is still usable 16 // Called when |manager| is about to be destroyed. |manager| is still usable
22 // at this point. 17 // at this point.
23 virtual void OnDBusThreadManagerDestroying(DBusThreadManager* manager) = 0; 18 virtual void OnDBusThreadManagerDestroying(DBusThreadManager* manager) = 0;
24 19
25 private: 20 protected:
26 DISALLOW_COPY_AND_ASSIGN(DBusThreadManagerObserver); 21 virtual ~DBusThreadManagerObserver() {}
27 }; 22 };
28 23
29 } // namespace chromeos 24 } // namespace chromeos
30 25
31 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_ 26 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/contacts/contact_database.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698