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

Side by Side Diff: dbus/exported_object.h

Issue 8511045: Cleanup: Remove unneeded forward declarations in base, dbug, gpu, ipc, jingle, and media. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « base/message_loop.h ('k') | dbus/object_proxy.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 DBUS_EXPORTED_OBJECT_H_ 5 #ifndef DBUS_EXPORTED_OBJECT_H_
6 #define DBUS_EXPORTED_OBJECT_H_ 6 #define DBUS_EXPORTED_OBJECT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <dbus/dbus.h>
10
11 #include <map>
9 #include <string> 12 #include <string>
10 #include <map>
11 #include <utility> 13 #include <utility>
12 14
13 #include <dbus/dbus.h>
14
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/synchronization/waitable_event.h" 17 #include "base/synchronization/waitable_event.h"
18 #include "base/threading/platform_thread.h" 18 #include "base/threading/platform_thread.h"
19 #include "base/time.h" 19 #include "base/time.h"
20 20
21 class MessageLoop;
22
23 namespace dbus { 21 namespace dbus {
24 22
25 class Bus; 23 class Bus;
26 class MethodCall; 24 class MethodCall;
27 class Response; 25 class Response;
28 class Signal; 26 class Signal;
29 27
30 // ExportedObject is used to export objects and methods to other D-Bus 28 // ExportedObject is used to export objects and methods to other D-Bus
31 // clients. 29 // clients.
32 // 30 //
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 149
152 // The method table where keys are absolute method names (i.e. interface 150 // The method table where keys are absolute method names (i.e. interface
153 // name + method name), and values are the corresponding callbacks. 151 // name + method name), and values are the corresponding callbacks.
154 typedef std::map<std::string, MethodCallCallback> MethodTable; 152 typedef std::map<std::string, MethodCallCallback> MethodTable;
155 MethodTable method_table_; 153 MethodTable method_table_;
156 }; 154 };
157 155
158 } // namespace dbus 156 } // namespace dbus
159 157
160 #endif // DBUS_EXPORTED_OBJECT_H_ 158 #endif // DBUS_EXPORTED_OBJECT_H_
OLDNEW
« no previous file with comments | « base/message_loop.h ('k') | dbus/object_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698