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

Unified Diff: dbus/message.h

Issue 9675002: dbus: fix base class of ErrorResponse (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (lost in appengine fu) fix up the constructors Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dbus/message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/message.h
diff --git a/dbus/message.h b/dbus/message.h
index 4683abeba475e9e8d17fa386ec4d7314c990cf99..3a28fb0b57ebc6ba03da251821d9cf4946526f30 100644
--- a/dbus/message.h
+++ b/dbus/message.h
@@ -200,16 +200,17 @@ class Response : public Message {
// must delete the returned object. Useful for testing.
static Response* CreateEmpty();
- private:
+ protected:
// Creates a Response message. The internal raw message is NULL.
Response();
+ private:
DISALLOW_COPY_AND_ASSIGN(Response);
};
// ErrorResponse is a type of message used to return an error to the
// caller of a method.
-class ErrorResponse: public Message {
+class ErrorResponse: public Response {
public:
// Returns a newly created Response from the given raw message of the
// type DBUS_MESSAGE_TYPE_METHOD_RETURN. The caller must delete the
« no previous file with comments | « no previous file | dbus/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698