| Index: chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamProvider.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamProvider.java b/chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamProvider.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4d95e2005d71bcf831d9e0352041b468742c080c
|
| --- /dev/null
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamProvider.java
|
| @@ -0,0 +1,15 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.chrome.browser.nfc;
|
| +
|
| +/**
|
| + * Interface for Activities that use Beam (sharing URL via NFC) controller.
|
| + */
|
| +public interface BeamProvider {
|
| + /**
|
| + * @return URL of the current tab, null otherwise (e.g. user is in tab switcher).
|
| + */
|
| + String getTabUrlForBeam();
|
| +}
|
|
|