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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/UrlManager.java

Issue 2222263002: Remove plan add/removeUrl methods from UrlManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/physicalweb/UrlManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/UrlManager.java b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/UrlManager.java
index 570a163c16accf7a5153a057830b01fd4e3f19c3..09fba2dab84abe75de0158f20ce453f41878a16b 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/UrlManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/UrlManager.java
@@ -182,15 +182,6 @@ class UrlManager {
}
/**
- * Add a URL to the store of URLs.
- */
- // TODO(conleyo) we should remove this method after calling code only passes us a UrlInfo.
- @VisibleForTesting
- public void addUrl(String url) {
- addUrl(new UrlInfo(url, -1.0, System.currentTimeMillis()));
- }
-
- /**
* Remove a URL to the store of URLs.
* This method additionally updates the Physical Web notification.
* @param urlInfo The URL to remove.
@@ -209,15 +200,6 @@ class UrlManager {
}
/**
- * Remove a URL to the store of URLs.
- */
- // TODO(conleyo) we should remove this method after calling code only passes us a UrlInfo.
- @VisibleForTesting
- public void removeUrl(String url) {
- removeUrl(new UrlInfo(url));
- }
-
- /**
* Get the list of URLs which are both nearby and resolved through PWS.
* @return A set of nearby and resolved URLs, sorted by distance.
*/

Powered by Google App Engine
This is Rietveld 408576698