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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.cc

Issue 2865653002: [Device Service] Decouple NFC implementation from //content (Closed)
Patch Set: Rebase Created 3 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/browser/frame_host/render_frame_host_delegate.h" 10 #include "content/browser/frame_host/render_frame_host_delegate.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 device::GeolocationServiceContext* 75 device::GeolocationServiceContext*
76 RenderFrameHostDelegate::GetGeolocationServiceContext() { 76 RenderFrameHostDelegate::GetGeolocationServiceContext() {
77 return nullptr; 77 return nullptr;
78 } 78 }
79 79
80 device::mojom::WakeLockService* RenderFrameHostDelegate::GetRendererWakeLock() { 80 device::mojom::WakeLockService* RenderFrameHostDelegate::GetRendererWakeLock() {
81 return nullptr; 81 return nullptr;
82 } 82 }
83 83
84 #if defined(OS_ANDROID)
85 void RenderFrameHostDelegate::GetNFC(device::nfc::mojom::NFCRequest request) {}
86 #endif
87
84 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( 88 bool RenderFrameHostDelegate::ShouldRouteMessageEvent(
85 RenderFrameHost* target_rfh, 89 RenderFrameHost* target_rfh,
86 SiteInstance* source_site_instance) const { 90 SiteInstance* source_site_instance) const {
87 return false; 91 return false;
88 } 92 }
89 93
90 std::unique_ptr<WebUIImpl> 94 std::unique_ptr<WebUIImpl>
91 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) { 95 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) {
92 return nullptr; 96 return nullptr;
93 } 97 }
(...skipping 11 matching lines...) Expand all
105 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() { 109 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() {
106 return nullptr; 110 return nullptr;
107 } 111 }
108 #endif 112 #endif
109 113
110 bool RenderFrameHostDelegate::IsBeingDestroyed() const { 114 bool RenderFrameHostDelegate::IsBeingDestroyed() const {
111 return false; 115 return false;
112 } 116 }
113 117
114 } // namespace content 118 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.h ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698