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

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

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 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 #ifndef CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ 5 #ifndef CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_
6 #define CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ 6 #define CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/process/process_handle.h" 9 #include "base/process/process_handle.h"
10 #include "content/common/application_setup.mojom.h" 10 #include "content/common/application_setup.mojom.h"
11 #include "content/common/mojo/channel_init.h" 11 #include "content/common/mojo/channel_init.h"
12 #include "content/common/mojo/service_registry_impl.h" 12 #include "content/common/mojo/service_registry_impl.h"
13
14 #if defined(USE_CHROME_EDK)
15 #include "mojo/edk/embedder/scoped_platform_handle.h"
16 #else
13 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h" 17 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h"
18 #endif
14 19
15 #if defined(OS_ANDROID) 20 #if defined(OS_ANDROID)
16 #include "content/browser/mojo/service_registry_android.h" 21 #include "content/browser/mojo/service_registry_android.h"
17 #endif 22 #endif
18 23
19 namespace IPC { 24 namespace IPC {
20 class Sender; 25 class Sender;
21 } 26 }
22 27
23 namespace content { 28 namespace content {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 #if defined(OS_ANDROID) 73 #if defined(OS_ANDROID)
69 scoped_ptr<ServiceRegistryAndroid> service_registry_android_; 74 scoped_ptr<ServiceRegistryAndroid> service_registry_android_;
70 #endif 75 #endif
71 76
72 DISALLOW_COPY_AND_ASSIGN(MojoApplicationHost); 77 DISALLOW_COPY_AND_ASSIGN(MojoApplicationHost);
73 }; 78 };
74 79
75 } // namespace content 80 } // namespace content
76 81
77 #endif // CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ 82 #endif // CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698