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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/OffTheRecordDocumentTabModel.java

Issue 2288353002: Replace references to OffTheRecord from OffTheRecordTabModel to Incognito (Closed)
Patch Set: actually rename to right thing Created 4 years, 4 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: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/OffTheRecordDocumentTabModel.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/OffTheRecordDocumentTabModel.java b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/OffTheRecordDocumentTabModel.java
index e7d9fd62a100003a99e5788cfc11f912be4fea9b..4056579d4b0acd3b440300fa02dcf034e8b4b052 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/OffTheRecordDocumentTabModel.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/OffTheRecordDocumentTabModel.java
@@ -7,19 +7,19 @@ package org.chromium.chrome.browser.tabmodel.document;
import org.chromium.base.VisibleForTesting;
import org.chromium.chrome.browser.incognito.IncognitoNotificationManager;
import org.chromium.chrome.browser.tabmodel.EmptyTabModel;
-import org.chromium.chrome.browser.tabmodel.OffTheRecordTabModel;
+import org.chromium.chrome.browser.tabmodel.IncognitoTabModel;
import org.chromium.chrome.browser.tabmodel.TabModel;
/**
- * Implements an OffTheRecord version of the DocumentTabModel. Timing is a little bit different for
+ * Implements an Incognito version of the DocumentTabModel. Timing is a little bit different for
* profile deletion because we don't get all the signals we'd expect when Tabs are closed. More
* specifically, Android doesn't fire signals when tasks are swiped away from the Recents menu if
* the Activity is dead when it occurs.
*/
-public class OffTheRecordDocumentTabModel extends OffTheRecordTabModel implements DocumentTabModel {
+public class OffTheRecordDocumentTabModel extends IncognitoTabModel implements DocumentTabModel {
private final ActivityDelegate mActivityDelegate;
- public OffTheRecordDocumentTabModel(OffTheRecordTabModelDelegate offTheRecordDelegate,
+ public OffTheRecordDocumentTabModel(IncognitoTabModelDelegate offTheRecordDelegate,
ActivityDelegate delegate) {
super(offTheRecordDelegate);
mActivityDelegate = delegate;
@@ -51,4 +51,4 @@ public class OffTheRecordDocumentTabModel extends OffTheRecordTabModel implement
if (!isDocumentTabModelImplCreated()) return null;
return getDelegateDocumentTabModel().getInitialUrlForDocument(tabId);
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698