| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 'use strict'; | |
| 6 | |
| 7 /** | |
| 8 * Namespace for URL constants. | |
| 9 */ | |
| 10 var urlConstants = {}; | |
| 11 | |
| 12 /** | |
| 13 * Location of the FAQ about the downloads directory. | |
| 14 * @const {string} | |
| 15 */ | |
| 16 urlConstants.DOWNLOADS_FAQ_URL = | |
| 17 'http://support.google.com/chromeos/bin/answer.py?answer=1061547'; | |
| 18 | |
| 19 /** | |
| 20 * Location of Files App specific help. | |
| 21 * @const {string} | |
| 22 */ | |
| 23 urlConstants.FILES_APP_HELP = | |
| 24 'https://support.google.com/chromeos/?p=gsg_files_app'; | |
| 25 | |
| 26 /** | |
| 27 * Location of the page to buy more storage for Google Drive. | |
| 28 * @const {string} | |
| 29 */ | |
| 30 urlConstants.GOOGLE_DRIVE_BUY_STORAGE = | |
| 31 'https://www.google.com/settings/storage'; | |
| 32 | |
| 33 /** | |
| 34 * Location of the help page about connecting to Google Drive. | |
| 35 * @const {string} | |
| 36 */ | |
| 37 urlConstants.GOOGLE_DRIVE_ERROR_HELP_URL = | |
| 38 'https://support.google.com/chromeos/?p=filemanager_driveerror'; | |
| 39 | |
| 40 /** | |
| 41 * Location of the FAQ about Google Drive. | |
| 42 * @const {string} | |
| 43 */ | |
| 44 urlConstants.GOOGLE_DRIVE_FAQ_URL = | |
| 45 'https://support.google.com/chromeos/?p=filemanager_drive'; | |
| 46 | |
| 47 /** | |
| 48 * Location of Google Drive specific help. | |
| 49 * @const {string} | |
| 50 */ | |
| 51 urlConstants.GOOGLE_DRIVE_HELP = | |
| 52 'https://support.google.com/chromeos/?p=filemanager_drivehelp'; | |
| 53 | |
| 54 /** | |
| 55 * Location of Google drive redeem page. | |
| 56 * @const {string} | |
| 57 */ | |
| 58 urlConstants.GOOGLE_DRIVE_REDEEM = | |
| 59 'http://www.google.com/intl/en/chrome/devices/goodies.html' + | |
| 60 '?utm_source=filesapp&utm_medium=banner&utm_campaign=gsg'; | |
| 61 | |
| 62 /** | |
| 63 * Location of Google Drive root. | |
| 64 * @const {string} | |
| 65 */ | |
| 66 urlConstants.GOOGLE_DRIVE_ROOT = 'https://drive.google.com'; | |
| 67 | |
| 68 // Make the namespace immutable. | |
| 69 Object.freeze(urlConstants); | |
| OLD | NEW |