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

Unified Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 2865653002: [Device Service] Decouple NFC implementation from //content (Closed)
Patch Set: Response to review + fix for tests that don't actually run on bots 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_delegate.h
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h
index 92f6c2b1f1026187cf600b91cef44bd180fa0e5e..2979f02807030603e7b667aa2e9b5712a9959c71 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -18,6 +18,7 @@
#include "content/public/browser/site_instance.h"
#include "content/public/common/javascript_dialog_type.h"
#include "content/public/common/media_stream_request.h"
+#include "device/nfc/nfc.mojom.h"
#include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h"
#include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h"
#include "net/http/http_response_headers.h"
@@ -194,6 +195,9 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
// Gets the WakeLockService that serves wake lock requests from the renderer.
virtual device::mojom::WakeLockService* GetRendererWakeLock();
+ // Gets an NFC implementation within the context of this delegate.
+ virtual void GetNFC(device::nfc::mojom::NFCRequest request);
+
// Notification that the frame wants to go into fullscreen mode.
// |origin| represents the origin of the frame that requests fullscreen.
virtual void EnterFullscreenMode(const GURL& origin) {}

Powered by Google App Engine
This is Rietveld 408576698