| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/common/url_constants.h" | 5 #include "chrome/common/url_constants.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
| 11 #include "url/url_util.h" | 11 #include "url/url_util.h" |
| 12 | 12 |
| 13 namespace chrome { | 13 namespace chrome { |
| 14 | 14 |
| 15 #if defined(OS_CHROMEOS) | 15 #if defined(OS_CHROMEOS) |
| 16 const char kCrosScheme[] = "cros"; | 16 const char kCrosScheme[] = "cros"; |
| 17 const char kDriveScheme[] = "drive"; | 17 const char kExternalFileScheme[] = "externalfile"; |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 // Add Chrome UI URLs as necessary, in alphabetical order. | 20 // Add Chrome UI URLs as necessary, in alphabetical order. |
| 21 // Be sure to add the corresponding kChromeUI*Host constant below. | 21 // Be sure to add the corresponding kChromeUI*Host constant below. |
| 22 // This is a WebUI page that lists other WebUI pages. | 22 // This is a WebUI page that lists other WebUI pages. |
| 23 const char kChromeUIAboutURL[] = "chrome://about/"; | 23 const char kChromeUIAboutURL[] = "chrome://about/"; |
| 24 const char kChromeUIAppsURL[] = "chrome://apps/"; | 24 const char kChromeUIAppsURL[] = "chrome://apps/"; |
| 25 const char kChromeUIAppListStartPageURL[] = "chrome://app-list/"; | 25 const char kChromeUIAppListStartPageURL[] = "chrome://app-list/"; |
| 26 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; | 26 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; |
| 27 const char kChromeUICertificateViewerURL[] = "chrome://view-cert/"; | 27 const char kChromeUICertificateViewerURL[] = "chrome://view-cert/"; |
| (...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 "https://support.google.com/chrome/?p=ui_mac_32bit_support"; | 720 "https://support.google.com/chrome/?p=ui_mac_32bit_support"; |
| 721 #else | 721 #else |
| 722 ""; | 722 ""; |
| 723 #endif | 723 #endif |
| 724 #endif | 724 #endif |
| 725 | 725 |
| 726 const char kEasyUnlockLearnMoreUrl[] = | 726 const char kEasyUnlockLearnMoreUrl[] = |
| 727 "https://support.google.com/chromebook/answer/6070209"; | 727 "https://support.google.com/chromebook/answer/6070209"; |
| 728 | 728 |
| 729 } // namespace chrome | 729 } // namespace chrome |
| OLD | NEW |