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

Side by Side Diff: dbus/message.h

Issue 7800023: Linux: use MessageLoopProxy instead of base::Thread in our DBus client library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « dbus/end_to_end_async_unittest.cc ('k') | dbus/test_service.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_MESSAGE_H_ 5 #ifndef DBUS_MESSAGE_H_
6 #define DBUS_MESSAGE_H_ 6 #define DBUS_MESSAGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 bool PopDictEntry(MessageReader* sub_reader); 361 bool PopDictEntry(MessageReader* sub_reader);
362 bool PopVariant(MessageReader* sub_reader); 362 bool PopVariant(MessageReader* sub_reader);
363 363
364 // Gets the array of bytes at the current iterator position. 364 // Gets the array of bytes at the current iterator position.
365 // Returns true and advances the iterator on success. 365 // Returns true and advances the iterator on success.
366 // 366 //
367 // Arrays of bytes are often used for exchanging binary blobs hence it's 367 // Arrays of bytes are often used for exchanging binary blobs hence it's
368 // worth having a specialized function. 368 // worth having a specialized function.
369 // 369 //
370 // |bytes| must be copied if the contents will be referenced after the 370 // |bytes| must be copied if the contents will be referenced after the
371 // |MessageReader is destroyed. 371 // MessageReader is destroyed.
372 bool PopArrayOfBytes(uint8** bytes, size_t* length); 372 bool PopArrayOfBytes(uint8** bytes, size_t* length);
373 373
374 // Gets the array of object paths at the current iterator position. 374 // Gets the array of object paths at the current iterator position.
375 // Returns true and advances the iterator on success. 375 // Returns true and advances the iterator on success.
376 // 376 //
377 // Arrays of object paths are often used to communicate with D-Bus 377 // Arrays of object paths are often used to communicate with D-Bus
378 // services like NetworkManager, hence it's worth having a specialized 378 // services like NetworkManager, hence it's worth having a specialized
379 // function. 379 // function.
380 bool PopArrayOfObjectPaths(std::vector<std::string>* object_paths); 380 bool PopArrayOfObjectPaths(std::vector<std::string>* object_paths);
381 381
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 419
420 Message* message_; 420 Message* message_;
421 DBusMessageIter raw_message_iter_; 421 DBusMessageIter raw_message_iter_;
422 422
423 DISALLOW_COPY_AND_ASSIGN(MessageReader); 423 DISALLOW_COPY_AND_ASSIGN(MessageReader);
424 }; 424 };
425 425
426 } // namespace dbus 426 } // namespace dbus
427 427
428 #endif // DBUS_MESSAGE_H_ 428 #endif // DBUS_MESSAGE_H_
OLDNEW
« no previous file with comments | « dbus/end_to_end_async_unittest.cc ('k') | dbus/test_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698