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

Side by Side Diff: chrome/browser/resources/file_manager/js/url_constants.js

Issue 39123003: [Files.app] Split the JavaScript files into subdirectories: common, background, and foreground (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed test failure. Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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);
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/ui/search_box.js ('k') | chrome/browser/resources/file_manager/js/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698