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

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: extra fix 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::WakeLockContext* 80 device::mojom::WakeLockContext*
81 RenderFrameHostDelegate::GetWakeLockServiceContext() { 81 RenderFrameHostDelegate::GetWakeLockServiceContext() {
82 return nullptr; 82 return nullptr;
83 } 83 }
84 84
85 void RenderFrameHostDelegate::GetNFC(device::nfc::mojom::NFCRequest request) {}
86
85 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( 87 bool RenderFrameHostDelegate::ShouldRouteMessageEvent(
86 RenderFrameHost* target_rfh, 88 RenderFrameHost* target_rfh,
87 SiteInstance* source_site_instance) const { 89 SiteInstance* source_site_instance) const {
88 return false; 90 return false;
89 } 91 }
90 92
91 std::unique_ptr<WebUIImpl> 93 std::unique_ptr<WebUIImpl>
92 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) { 94 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) {
93 return nullptr; 95 return nullptr;
94 } 96 }
95 97
96 bool RenderFrameHostDelegate::ShouldAllowRunningInsecureContent( 98 bool RenderFrameHostDelegate::ShouldAllowRunningInsecureContent(
97 WebContents* web_contents, 99 WebContents* web_contents,
98 bool allowed_per_prefs, 100 bool allowed_per_prefs,
99 const url::Origin& origin, 101 const url::Origin& origin,
100 const GURL& resource_url) { 102 const GURL& resource_url) {
101 return false; 103 return false;
102 } 104 }
103 105
104 #if defined(OS_ANDROID) 106 #if defined(OS_ANDROID)
105 base::android::ScopedJavaLocalRef<jobject> 107 base::android::ScopedJavaLocalRef<jobject>
106 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() { 108 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() {
107 return nullptr; 109 return nullptr;
108 } 110 }
109 #endif 111 #endif
110 112
111 } // namespace content 113 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698