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

Side by Side Diff: services/device/nfc/android/java/src/org/chromium/device/nfc/NfcTypeConverter.java

Issue 2894373002: [DeviceService] Move //device/nfc to be part of the internal impl of Device Service (Closed)
Patch Set: Modify code comment 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 package org.chromium.device.nfc; 5 package org.chromium.device.nfc;
6 6
7 import android.net.Uri; 7 import android.net.Uri;
8 import android.nfc.NdefMessage; 8 import android.nfc.NdefMessage;
9 import android.nfc.NdefRecord; 9 import android.nfc.NdefRecord;
10 import android.os.Build; 10 import android.os.Build;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 return createURLRecord(record.toUri()); 216 return createURLRecord(record.toUri());
217 } 217 }
218 218
219 if (Arrays.equals(record.getType(), NdefRecord.RTD_TEXT)) { 219 if (Arrays.equals(record.getType(), NdefRecord.RTD_TEXT)) {
220 return createTextRecord(record.getPayload()); 220 return createTextRecord(record.getPayload());
221 } 221 }
222 222
223 return null; 223 return null;
224 } 224 }
225 } 225 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698