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

Side by Side Diff: dbus/bus.h

Issue 1541193002: Switch to standard integer types in dbus/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « no previous file | dbus/bus.cc » ('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 DBUS_BUS_H_ 5 #ifndef DBUS_BUS_H_
6 #define DBUS_BUS_H_ 6 #define DBUS_BUS_H_
7 7
8 #include <dbus/dbus.h> 8 #include <dbus/dbus.h>
9 #include <stdint.h>
9 10
10 #include <map> 11 #include <map>
11 #include <set> 12 #include <set>
12 #include <string> 13 #include <string>
13 #include <utility> 14 #include <utility>
14 #include <vector> 15 #include <vector>
15 16
16 #include "base/callback.h" 17 #include "base/callback.h"
18 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 19 #include "base/memory/ref_counted.h"
18 #include "base/synchronization/waitable_event.h" 20 #include "base/synchronization/waitable_event.h"
19 #include "base/threading/platform_thread.h" 21 #include "base/threading/platform_thread.h"
20 #include "dbus/dbus_export.h" 22 #include "dbus/dbus_export.h"
21 #include "dbus/object_path.h" 23 #include "dbus/object_path.h"
22 24
23 namespace base { 25 namespace base {
24 class SequencedTaskRunner; 26 class SequencedTaskRunner;
25 class SingleThreadTaskRunner; 27 class SingleThreadTaskRunner;
26 class TaskRunner; 28 class TaskRunner;
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 // 457 //
456 // BLOCKING CALL. 458 // BLOCKING CALL.
457 virtual void SendWithReply(DBusMessage* request, 459 virtual void SendWithReply(DBusMessage* request,
458 DBusPendingCall** pending_call, 460 DBusPendingCall** pending_call,
459 int timeout_ms); 461 int timeout_ms);
460 462
461 // Requests to send a message to the bus. The message serial number will 463 // Requests to send a message to the bus. The message serial number will
462 // be stored in |serial|. 464 // be stored in |serial|.
463 // 465 //
464 // BLOCKING CALL. 466 // BLOCKING CALL.
465 virtual void Send(DBusMessage* request, uint32* serial); 467 virtual void Send(DBusMessage* request, uint32_t* serial);
466 468
467 // Adds the message filter function. |filter_function| will be called 469 // Adds the message filter function. |filter_function| will be called
468 // when incoming messages are received. 470 // when incoming messages are received.
469 // 471 //
470 // When a new incoming message arrives, filter functions are called in 472 // When a new incoming message arrives, filter functions are called in
471 // the order that they were added until the the incoming message is 473 // the order that they were added until the the incoming message is
472 // handled by a filter function. 474 // handled by a filter function.
473 // 475 //
474 // The same filter function associated with the same user data cannot be 476 // The same filter function associated with the same user data cannot be
475 // added more than once. 477 // added more than once.
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 int num_pending_timeouts_; 757 int num_pending_timeouts_;
756 758
757 std::string address_; 759 std::string address_;
758 760
759 DISALLOW_COPY_AND_ASSIGN(Bus); 761 DISALLOW_COPY_AND_ASSIGN(Bus);
760 }; 762 };
761 763
762 } // namespace dbus 764 } // namespace dbus
763 765
764 #endif // DBUS_BUS_H_ 766 #endif // DBUS_BUS_H_
OLDNEW
« no previous file with comments | « no previous file | dbus/bus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698