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

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

Issue 2105653002: Delete content::ServiceRegistry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ew
Patch Set: . Created 4 years, 5 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 #include "content/renderer/mojo/interface_provider_js_wrapper.h" 5 #include "content/renderer/mojo/interface_provider_js_wrapper.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "content/common/mojo/service_registry_impl.h"
11 #include "mojo/edk/js/handle.h" 10 #include "mojo/edk/js/handle.h"
12 #include "services/shell/public/cpp/interface_provider.h" 11 #include "services/shell/public/cpp/interface_provider.h"
13 #include "third_party/WebKit/public/web/WebLocalFrame.h" 12 #include "third_party/WebKit/public/web/WebLocalFrame.h"
14 13
15 namespace content { 14 namespace content {
16 15
17 gin::WrapperInfo InterfaceProviderJsWrapper::kWrapperInfo = { 16 gin::WrapperInfo InterfaceProviderJsWrapper::kWrapperInfo = {
18 gin::kEmbedderNativeGin}; 17 gin::kEmbedderNativeGin};
19 const char InterfaceProviderJsWrapper::kPerFrameModuleName[] = 18 const char InterfaceProviderJsWrapper::kPerFrameModuleName[] =
20 "content/public/renderer/frame_service_registry"; 19 "content/public/renderer/frame_service_registry";
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 103 }
105 104
106 // static 105 // static
107 void InterfaceProviderJsWrapper::ClearContext( 106 void InterfaceProviderJsWrapper::ClearContext(
108 const v8::WeakCallbackInfo<InterfaceProviderJsWrapper>& data) { 107 const v8::WeakCallbackInfo<InterfaceProviderJsWrapper>& data) {
109 InterfaceProviderJsWrapper* registry = data.GetParameter(); 108 InterfaceProviderJsWrapper* registry = data.GetParameter();
110 registry->context_.Reset(); 109 registry->context_.Reset();
111 } 110 }
112 111
113 } // namespace content 112 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/service_registry.h ('k') | content/renderer/service_worker/service_worker_context_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698