/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.gecko.db; import android.os.Parcel; import android.os.Parcelable; /** * A thin representation of a remote tab. *
* These are generated functions.
*/
public class RemoteTab implements Parcelable {
public final String title;
public final String url;
public final long lastUsed;
public RemoteTab(String title, String url, long lastUsed) {
this.title = title;
this.url = url;
this.lastUsed = lastUsed;
}
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
parcel.writeString(title);
parcel.writeString(url);
parcel.writeLong(lastUsed);
}
public static final Creator