| 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/macros.h" | 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 #if !defined(OS_ANDROID) | 138 #if !defined(OS_ANDROID) |
| 139 const char kChromeUICopresenceURL[] = "chrome://copresence/"; | 139 const char kChromeUICopresenceURL[] = "chrome://copresence/"; |
| 140 #endif | 140 #endif |
| 141 | 141 |
| 142 #if defined(ENABLE_WEBRTC) | 142 #if defined(ENABLE_WEBRTC) |
| 143 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; | 143 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; |
| 144 #endif | 144 #endif |
| 145 | 145 |
| 146 #if defined(ENABLE_MEDIA_ROUTER) | 146 #if defined(ENABLE_MEDIA_ROUTER) |
| 147 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; | 147 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; |
| 148 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
| 149 const char kChromeUICastURL[] = "chrome://cast/"; |
| 150 #endif |
| 148 #endif | 151 #endif |
| 149 | 152 |
| 150 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 153 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
| 151 const char kChromeUIDiscardsHost[] = "discards"; | 154 const char kChromeUIDiscardsHost[] = "discards"; |
| 152 const char kChromeUIDiscardsURL[] = "chrome://discards/"; | 155 const char kChromeUIDiscardsURL[] = "chrome://discards/"; |
| 153 #endif | 156 #endif |
| 154 | 157 |
| 155 // Add Chrome UI hosts here, in alphabetical order. | 158 // Add Chrome UI hosts here, in alphabetical order. |
| 156 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by | 159 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by |
| 157 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. | 160 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 #if !defined(OS_ANDROID) | 325 #if !defined(OS_ANDROID) |
| 323 const char kChromeUICopresenceHost[] = "copresence"; | 326 const char kChromeUICopresenceHost[] = "copresence"; |
| 324 #endif | 327 #endif |
| 325 | 328 |
| 326 #if defined(ENABLE_WEBRTC) | 329 #if defined(ENABLE_WEBRTC) |
| 327 const char kChromeUIWebRtcLogsHost[] = "webrtc-logs"; | 330 const char kChromeUIWebRtcLogsHost[] = "webrtc-logs"; |
| 328 #endif | 331 #endif |
| 329 | 332 |
| 330 #if defined(ENABLE_MEDIA_ROUTER) | 333 #if defined(ENABLE_MEDIA_ROUTER) |
| 331 const char kChromeUIMediaRouterHost[] = "media-router"; | 334 const char kChromeUIMediaRouterHost[] = "media-router"; |
| 335 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
| 336 const char kChromeUICastHost[] = "cast"; |
| 337 #endif |
| 332 #endif | 338 #endif |
| 333 | 339 |
| 334 // Option sub pages. | 340 // Option sub pages. |
| 335 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be | 341 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be |
| 336 // listed by the built-in AutocompleteProvider. | 342 // listed by the built-in AutocompleteProvider. |
| 337 const char kAutofillSubPage[] = "autofill"; | 343 const char kAutofillSubPage[] = "autofill"; |
| 338 const char kClearBrowserDataSubPage[] = "clearBrowserData"; | 344 const char kClearBrowserDataSubPage[] = "clearBrowserData"; |
| 339 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; | 345 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; |
| 340 const char kContentSettingsSubPage[] = "content"; | 346 const char kContentSettingsSubPage[] = "content"; |
| 341 const char kCreateProfileSubPage[] = "createProfile"; | 347 const char kCreateProfileSubPage[] = "createProfile"; |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 "https://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html
"; | 772 "https://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html
"; |
| 767 #endif | 773 #endif |
| 768 | 774 |
| 769 const char kChooserBluetoothOverviewURL[] = | 775 const char kChooserBluetoothOverviewURL[] = |
| 770 "https://support.google.com/chrome?p=bluetooth"; | 776 "https://support.google.com/chrome?p=bluetooth"; |
| 771 | 777 |
| 772 const char kChooserUsbOverviewURL[] = | 778 const char kChooserUsbOverviewURL[] = |
| 773 "https://support.google.com/chrome?p=webusb"; | 779 "https://support.google.com/chrome?p=webusb"; |
| 774 | 780 |
| 775 } // namespace chrome | 781 } // namespace chrome |
| OLD | NEW |