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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/OffTheRecordTabModelImplCreator.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/OffTheRecordTabModelImplCreator.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/OffTheRecordTabModelImplCreator.java b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/OffTheRecordTabModelImplCreator.java
index 2f4fe0ce823b3c6928751b2763c57dd7baa388ea..8f4399af64740a7e35ba754e7303599092694245 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/OffTheRecordTabModelImplCreator.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/OffTheRecordTabModelImplCreator.java
@@ -5,13 +5,13 @@
package org.chromium.chrome.browser.tabmodel;
import org.chromium.chrome.browser.compositor.layouts.content.TabContentManager;
-import org.chromium.chrome.browser.tabmodel.OffTheRecordTabModel.OffTheRecordTabModelDelegate;
+import org.chromium.chrome.browser.tabmodel.IncognitoTabModel.IncognitoTabModelDelegate;
import org.chromium.chrome.browser.tabmodel.TabCreatorManager.TabCreator;
/**
* Stores all the variables needed to create an Incognito TabModelImpl when it is needed.
*/
-class OffTheRecordTabModelImplCreator implements OffTheRecordTabModelDelegate {
+class OffTheRecordTabModelImplCreator implements IncognitoTabModelDelegate {
private final TabCreator mRegularTabCreator;
private final TabCreator mIncognitoTabCreator;
private final TabModelSelectorUma mUma;
@@ -21,10 +21,10 @@ class OffTheRecordTabModelImplCreator implements OffTheRecordTabModelDelegate {
private final TabModelDelegate mModelDelegate;
/**
- * Constructor for an OffTheRecordTabModelImplCreator, used by {@link OffTheRecordTabModel}.
+ * Constructor for an OffTheRecordTabModelImplCreator, used by {@link IncognitoTabModel}.
*
* Creating an instance of this class does not create the Incognito TabModelImpl immediately.
- * The {@link OffTheRecordTabModel} will use this class to create the real TabModelImpl when it
+ * The {@link IncognitoTabModel} will use this class to create the real TabModelImpl when it
* will actually be used.
*
* @param regularTabCreator Creates regular tabs.
@@ -55,7 +55,7 @@ class OffTheRecordTabModelImplCreator implements OffTheRecordTabModelDelegate {
}
@Override
- public boolean doOffTheRecordTabsExist() {
+ public boolean doIncognitoTabsExist() {
return TabWindowManager.getInstance().getIncognitoTabCount() > 0;
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698