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

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

Issue 258623004: Fixed url to manage specific cloud printers. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ab37a66306ef6d48aa3e153f97c6d7ff914a59f9..33d8783bb5dae29d16173ee68b16aa338229b371 100644
--- a/chrome/browser/resources/local_discovery/local_discovery.js
+++ b/chrome/browser/resources/local_discovery/local_discovery.js
@@ -15,12 +15,6 @@
cr.define('local_discovery', function() {
'use strict';
- /**
- * Prefix for printer management page URLs, relative to base cloud print URL.
- * @type {string}
- */
- var PRINTER_MANAGEMENT_PAGE_PREFIX = '#printers/';
-
// Histogram buckets for UMA tracking.
/** @const */ var DEVICES_PAGE_EVENTS = {
OPENED: 0,
@@ -450,8 +444,7 @@ cr.define('local_discovery', function() {
*/
function manageCloudDevice(device_id) {
recordUmaEvent(DEVICES_PAGE_EVENTS.MANAGE_CLICKED);
- chrome.send('openCloudPrintURL',
- [PRINTER_MANAGEMENT_PAGE_PREFIX + device_id]);
+ chrome.send('openCloudPrintURL', [device_id]);
}
/**
« no previous file with comments | « no previous file | chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698