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

Side by Side Diff: content/renderer/mojo/service_registry_js_wrapper.cc

Issue 703273002: Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442ac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix content/child -> mojo/common linking Created 6 years, 1 month 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 | « content/renderer/BUILD.gn ('k') | content/renderer/render_frame_impl.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 "content/renderer/mojo/service_registry_js_wrapper.h" 5 #include "content/renderer/mojo/service_registry_js_wrapper.h"
6 6
7 #include "content/common/mojo/service_registry_impl.h" 7 #include "content/common/mojo/service_registry_impl.h"
8 #include "content/public/common/service_registry.h" 8 #include "content/public/common/service_registry.h"
9 #include "mojo/bindings/js/handle.h" 9 #include "mojo/edk/js/handle.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 gin::WrapperInfo ServiceRegistryJsWrapper::kWrapperInfo = { 13 gin::WrapperInfo ServiceRegistryJsWrapper::kWrapperInfo = {
14 gin::kEmbedderNativeGin}; 14 gin::kEmbedderNativeGin};
15 const char ServiceRegistryJsWrapper::kModuleName[] = 15 const char ServiceRegistryJsWrapper::kModuleName[] =
16 "content/public/renderer/service_provider"; 16 "content/public/renderer/service_provider";
17 17
18 ServiceRegistryJsWrapper::~ServiceRegistryJsWrapper() { 18 ServiceRegistryJsWrapper::~ServiceRegistryJsWrapper() {
19 } 19 }
(...skipping 23 matching lines...) Expand all
43 pipe.handle0.Pass()); 43 pipe.handle0.Pass());
44 return pipe.handle1.release(); 44 return pipe.handle1.release();
45 } 45 }
46 46
47 ServiceRegistryJsWrapper::ServiceRegistryJsWrapper( 47 ServiceRegistryJsWrapper::ServiceRegistryJsWrapper(
48 base::WeakPtr<ServiceRegistry> service_registry) 48 base::WeakPtr<ServiceRegistry> service_registry)
49 : service_registry_(service_registry) { 49 : service_registry_(service_registry) {
50 } 50 }
51 51
52 } // namespace content 52 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698