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

Side by Side Diff: mojo/dbus/dbus_external_service.h

Issue 423613002: Mojo: split up service_provider.mojom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | « content/utility/BUILD.gn ('k') | mojo/dbus/dbus_external_service.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "dbus/bus.h" 6 #include "dbus/bus.h"
7 #include "dbus/exported_object.h" 7 #include "dbus/exported_object.h"
8 #include "dbus/message.h" 8 #include "dbus/message.h"
9 #include "dbus/object_path.h" 9 #include "dbus/object_path.h"
10 #include "mojo/embedder/channel_init.h" 10 #include "mojo/embedder/channel_init.h"
11 #include "mojo/public/cpp/application/application_connection.h" 11 #include "mojo/public/cpp/application/application_connection.h"
12 #include "mojo/public/cpp/application/application_delegate.h" 12 #include "mojo/public/cpp/application/application_delegate.h"
13 #include "mojo/public/cpp/application/application_impl.h" 13 #include "mojo/public/cpp/application/application_impl.h"
14 #include "mojo/public/cpp/application/interface_factory.h" 14 #include "mojo/public/cpp/application/interface_factory.h"
15 #include "mojo/public/cpp/bindings/interface_request.h" 15 #include "mojo/public/cpp/bindings/interface_request.h"
16 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
17 #include "mojo/shell/external_service.mojom.h" 16 #include "mojo/shell/external_service.mojom.h"
18 17
19 namespace mojo { 18 namespace mojo {
20 const char kMojoDBusImplPath[] = "/org/chromium/MojoImpl"; 19 const char kMojoDBusImplPath[] = "/org/chromium/MojoImpl";
21 const char kMojoDBusInterface[] = "org.chromium.Mojo"; 20 const char kMojoDBusInterface[] = "org.chromium.Mojo";
22 const char kMojoDBusConnectMethod[] = "ConnectChannel"; 21 const char kMojoDBusConnectMethod[] = "ConnectChannel";
23 22
24 class DBusExternalServiceBase { 23 class DBusExternalServiceBase {
25 public: 24 public:
26 explicit DBusExternalServiceBase(const std::string& service_name); 25 explicit DBusExternalServiceBase(const std::string& service_name);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 97 }
99 private: 98 private:
100 DBusExternalService* service_; 99 DBusExternalService* service_;
101 scoped_ptr<Application> app_; 100 scoped_ptr<Application> app_;
102 }; 101 };
103 102
104 scoped_ptr<Impl> external_service_; 103 scoped_ptr<Impl> external_service_;
105 }; 104 };
106 105
107 } // namespace mojo 106 } // namespace mojo
OLDNEW
« no previous file with comments | « content/utility/BUILD.gn ('k') | mojo/dbus/dbus_external_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698