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

Unified Diff: chrome/browser/resources/local_discovery/local_discovery.js

Issue 1898503002: Cleanup LocalDiscoveryUIHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 8 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/browser/resources/local_discovery/local_discovery.js
diff --git a/chrome/browser/resources/local_discovery/local_discovery.js b/chrome/browser/resources/local_discovery/local_discovery.js
index 3e2fb1b8ad542aa8f2ce4977a330d6e6f0606a9b..cdad0b5ab1c2dd7980130806a177acd516c3311b 100644
--- a/chrome/browser/resources/local_discovery/local_discovery.js
+++ b/chrome/browser/resources/local_discovery/local_discovery.js
@@ -607,14 +607,6 @@ cr.define('local_discovery', function() {
}
}
- function removeCloudPrintConnectorSection() {
- if (!cr.isChromeOS) {
- var connectorSectionElm = $('cloud-print-connector-section');
- if (connectorSectionElm)
- connectorSectionElm.parentNode.removeChild(connectorSectionElm);
- }
- }
-
function getOverlayIDFromPath() {
if (document.location.pathname == '/register') {
var params = parseQueryParams(document.location);
@@ -693,6 +685,5 @@ cr.define('local_discovery', function() {
onRegistrationTimeout: onRegistrationTimeout,
setUserLoggedIn: setUserLoggedIn,
setupCloudPrintConnectorSection: setupCloudPrintConnectorSection,
- removeCloudPrintConnectorSection: removeCloudPrintConnectorSection
};
});

Powered by Google App Engine
This is Rietveld 408576698