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

Side by Side Diff: content/browser/mojo/mojo_app_connection_impl.h

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CONTENT_BROWSER_MOJO_MOJO_APP_CONNECTION_IMPL_H_ 5 #ifndef CONTENT_BROWSER_MOJO_MOJO_APP_CONNECTION_IMPL_H_
6 #define CONTENT_BROWSER_MOJO_MOJO_APP_CONNECTION_IMPL_H_ 6 #define CONTENT_BROWSER_MOJO_MOJO_APP_CONNECTION_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/browser/mojo_app_connection.h" 9 #include "content/public/browser/mojo_app_connection.h"
10 #include "mojo/application/public/interfaces/service_provider.mojom.h" 10 #include "mojo/shell/public/interfaces/service_provider.mojom.h"
11 11
12 class GURL; 12 class GURL;
13 13
14 namespace content { 14 namespace content {
15 15
16 // Implementation of the app connection mechanism provided to browser code. 16 // Implementation of the app connection mechanism provided to browser code.
17 class MojoAppConnectionImpl : public MojoAppConnection { 17 class MojoAppConnectionImpl : public MojoAppConnection {
18 public: 18 public:
19 MojoAppConnectionImpl(const GURL& url, const GURL& requestor_url); 19 MojoAppConnectionImpl(const GURL& url, const GURL& requestor_url);
20 ~MojoAppConnectionImpl() override; 20 ~MojoAppConnectionImpl() override;
21 21
22 private: 22 private:
23 // MojoAppConnection: 23 // MojoAppConnection:
24 void ConnectToService(const std::string& service_name, 24 void ConnectToService(const std::string& service_name,
25 mojo::ScopedMessagePipeHandle handle) override; 25 mojo::ScopedMessagePipeHandle handle) override;
26 26
27 mojo::ServiceProviderPtr services_; 27 mojo::ServiceProviderPtr services_;
28 28
29 DISALLOW_COPY_AND_ASSIGN(MojoAppConnectionImpl); 29 DISALLOW_COPY_AND_ASSIGN(MojoAppConnectionImpl);
30 }; 30 };
31 31
32 } // namespace content 32 } // namespace content
33 33
34 #endif // CONTENT_BROWSER_MOJO_MOJO_APP_CONNECTION_IMPL_H_ 34 #endif // CONTENT_BROWSER_MOJO_MOJO_APP_CONNECTION_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_mojo_shell.h ('k') | content/browser/mojo/mojo_shell_client_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698