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

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

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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 | « chromeos/dbus/image_burner_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 CHROME_BROWSER_CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_ 6 #define CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "chrome/browser/chromeos/dbus/dbus_client_implementation_type.h" 13 #include "chromeos/chromeos_export.h"
14 #include "chromeos/dbus/dbus_client_implementation_type.h"
14 #include "dbus/object_path.h" 15 #include "dbus/object_path.h"
15 16
16 namespace dbus { 17 namespace dbus {
17 class Bus; 18 class Bus;
18 } // namespace dbus 19 } // namespace dbus
19 20
20 namespace chromeos { 21 namespace chromeos {
21 22
22 // IntrospectableClient is used to retrieve the D-Bus introspection data 23 // IntrospectableClient is used to retrieve the D-Bus introspection data
23 // from a remote object. 24 // from a remote object.
24 class IntrospectableClient { 25 class CHROMEOS_EXPORT IntrospectableClient {
25 public: 26 public:
26 virtual ~IntrospectableClient(); 27 virtual ~IntrospectableClient();
27 28
28 // The IntrospectCallback is used for the Introspect() method. It receives 29 // The IntrospectCallback is used for the Introspect() method. It receives
29 // four arguments, the first two are the |service_name| and |object_path| 30 // four arguments, the first two are the |service_name| and |object_path|
30 // of the remote object being introspected, the third is the |xml_data| of 31 // of the remote object being introspected, the third is the |xml_data| of
31 // the object as described in 32 // the object as described in
32 // http://dbus.freedesktop.org/doc/dbus-specification.html, the fourth 33 // http://dbus.freedesktop.org/doc/dbus-specification.html, the fourth
33 // |success| indicates whether the request succeeded. 34 // |success| indicates whether the request succeeded.
34 typedef base::Callback<void(const std::string&, const dbus::ObjectPath&, 35 typedef base::Callback<void(const std::string&, const dbus::ObjectPath&,
(...skipping 12 matching lines...) Expand all
47 48
48 protected: 49 protected:
49 IntrospectableClient(); 50 IntrospectableClient();
50 51
51 private: 52 private:
52 DISALLOW_COPY_AND_ASSIGN(IntrospectableClient); 53 DISALLOW_COPY_AND_ASSIGN(IntrospectableClient);
53 }; 54 };
54 55
55 } // namespace chromeos 56 } // namespace chromeos
56 57
57 #endif // CHROME_BROWSER_CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_ 58 #endif // CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/image_burner_client.cc ('k') | chromeos/dbus/introspectable_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698