Bug 1294438 - Do not store metadata for private tabs r=sebastian
authorGrigory Kruglov <gkruglov@mozilla.com>
Wed, 31 Aug 2016 23:02:23 -0700
changeset 312334 4c0092cbaf251d6253a07f103cabf8b2b1fbb9fc
parent 312317 2677e17bd4d814c5048cf4e032405273ba599266
child 312335 4686f24bce9724843410be75b309896d50ff33ea
push id20447
push userkwierso@gmail.com
push dateFri, 02 Sep 2016 20:36:44 +0000
treeherderfx-team@969397f22187 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssebastian
bugs1294438
milestone51.0a1
Bug 1294438 - Do not store metadata for private tabs r=sebastian MozReview-Commit-ID: 6afE9DWmyK7
mobile/android/base/java/org/mozilla/gecko/PrivateTab.java
--- a/mobile/android/base/java/org/mozilla/gecko/PrivateTab.java
+++ b/mobile/android/base/java/org/mozilla/gecko/PrivateTab.java
@@ -3,23 +3,28 @@
  * 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;
 
 import android.content.Context;
 
 import android.support.v4.content.ContextCompat;
+
+import org.json.JSONObject;
 import org.mozilla.gecko.db.BrowserDB;
 
 public class PrivateTab extends Tab {
     public PrivateTab(Context context, int id, String url, boolean external, int parentId, String title) {
         super(context, id, url, external, parentId, title);
     }
 
     @Override
     protected void saveThumbnailToDB(final BrowserDB db) {}
 
     @Override
+    public void setMetadata(JSONObject metadata) {}
+
+    @Override
     public boolean isPrivate() {
         return true;
     }
 }