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

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

Issue 91373004: Move DBusClient stub implementations into separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years 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 | « chromeos/dbus/fake_sms_client.cc ('k') | chromeos/dbus/introspectable_client.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 CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_
6 #define CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_ 6 #define CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 const dbus::ObjectPath& object_path, 38 const dbus::ObjectPath& object_path,
39 const IntrospectCallback& callback) = 0; 39 const IntrospectCallback& callback) = 0;
40 40
41 // Parses XML-formatted introspection data returned by 41 // Parses XML-formatted introspection data returned by
42 // org.freedesktop.DBus.Introspectable.Introspect and returns the list of 42 // org.freedesktop.DBus.Introspectable.Introspect and returns the list of
43 // interface names declared within. 43 // interface names declared within.
44 static std::vector<std::string> GetInterfacesFromIntrospectResult( 44 static std::vector<std::string> GetInterfacesFromIntrospectResult(
45 const std::string& xml_data); 45 const std::string& xml_data);
46 46
47 // Creates the instance 47 // Creates the instance
48 static IntrospectableClient* Create(DBusClientImplementationType type); 48 static IntrospectableClient* Create();
49 49
50 protected: 50 protected:
51 IntrospectableClient(); 51 IntrospectableClient();
52 52
53 private: 53 private:
54 DISALLOW_COPY_AND_ASSIGN(IntrospectableClient); 54 DISALLOW_COPY_AND_ASSIGN(IntrospectableClient);
55 }; 55 };
56 56
57 } // namespace chromeos 57 } // namespace chromeos
58 58
59 #endif // CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_ 59 #endif // CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_sms_client.cc ('k') | chromeos/dbus/introspectable_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698