| 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" |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 const char kChromeUIUberFrameHost[] = "uber-frame"; | 249 const char kChromeUIUberFrameHost[] = "uber-frame"; |
| 250 const char kChromeUIUberHost[] = "chrome"; | 250 const char kChromeUIUberHost[] = "chrome"; |
| 251 const char kChromeUIUserActionsHost[] = "user-actions"; | 251 const char kChromeUIUserActionsHost[] = "user-actions"; |
| 252 const char kChromeUIVersionHost[] = "version"; | 252 const char kChromeUIVersionHost[] = "version"; |
| 253 const char kChromeUIVoiceSearchHost[] = "voicesearch"; | 253 const char kChromeUIVoiceSearchHost[] = "voicesearch"; |
| 254 const char kChromeUIWorkersHost[] = "workers"; | 254 const char kChromeUIWorkersHost[] = "workers"; |
| 255 | 255 |
| 256 const char kChromeUIScreenshotPath[] = "screenshots"; | 256 const char kChromeUIScreenshotPath[] = "screenshots"; |
| 257 const char kChromeUIThemePath[] = "theme"; | 257 const char kChromeUIThemePath[] = "theme"; |
| 258 | 258 |
| 259 #if defined(ENABLE_FULL_PRINTING) | 259 #if defined(ENABLE_PRINT_PREVIEW) |
| 260 const char kChromeUIPrintHost[] = "print"; | 260 const char kChromeUIPrintHost[] = "print"; |
| 261 #endif // ENABLE_FULL_PRINTING | 261 #endif // ENABLE_PRINT_PREVIEW |
| 262 | 262 |
| 263 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 263 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
| 264 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; | 264 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
| 265 const char kChromeUISandboxHost[] = "sandbox"; | 265 const char kChromeUISandboxHost[] = "sandbox"; |
| 266 #endif | 266 #endif |
| 267 | 267 |
| 268 #if defined(OS_CHROMEOS) | 268 #if defined(OS_CHROMEOS) |
| 269 const char kChromeUIActivationMessageHost[] = "activationmessage"; | 269 const char kChromeUIActivationMessageHost[] = "activationmessage"; |
| 270 const char kChromeUIAppLaunchHost[] = "app-launch"; | 270 const char kChromeUIAppLaunchHost[] = "app-launch"; |
| 271 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; | 271 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 #endif | 650 #endif |
| 651 #if !defined(DISABLE_NACL) | 651 #if !defined(DISABLE_NACL) |
| 652 kChromeUINaClHost, | 652 kChromeUINaClHost, |
| 653 #endif | 653 #endif |
| 654 #if defined(ENABLE_CONFIGURATION_POLICY) | 654 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 655 kChromeUIPolicyHost, | 655 kChromeUIPolicyHost, |
| 656 #endif | 656 #endif |
| 657 #if defined(ENABLE_EXTENSIONS) | 657 #if defined(ENABLE_EXTENSIONS) |
| 658 kChromeUIExtensionsHost, | 658 kChromeUIExtensionsHost, |
| 659 #endif | 659 #endif |
| 660 #if defined(ENABLE_FULL_PRINTING) | 660 #if defined(ENABLE_PRINT_PREVIEW) |
| 661 kChromeUIPrintHost, | 661 kChromeUIPrintHost, |
| 662 #endif | 662 #endif |
| 663 #if defined(ENABLE_SERVICE_DISCOVERY) | 663 #if defined(ENABLE_SERVICE_DISCOVERY) |
| 664 kChromeUIDevicesHost, | 664 kChromeUIDevicesHost, |
| 665 #endif | 665 #endif |
| 666 #if defined(ENABLE_WEBRTC) | 666 #if defined(ENABLE_WEBRTC) |
| 667 kChromeUIWebRtcLogsHost, | 667 kChromeUIWebRtcLogsHost, |
| 668 #endif | 668 #endif |
| 669 }; | 669 }; |
| 670 const size_t kNumberOfChromeHostURLs = arraysize(kChromeHostURLs); | 670 const size_t kNumberOfChromeHostURLs = arraysize(kChromeHostURLs); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 "https://support.google.com/chrome/?p=ui_mac_32bit_support"; | 717 "https://support.google.com/chrome/?p=ui_mac_32bit_support"; |
| 718 #else | 718 #else |
| 719 ""; | 719 ""; |
| 720 #endif | 720 #endif |
| 721 #endif | 721 #endif |
| 722 | 722 |
| 723 const char kEasyUnlockLearnMoreUrl[] = | 723 const char kEasyUnlockLearnMoreUrl[] = |
| 724 "https://support.google.com/chromebook/?p=easy_unlock"; | 724 "https://support.google.com/chromebook/?p=easy_unlock"; |
| 725 | 725 |
| 726 } // namespace chrome | 726 } // namespace chrome |
| OLD | NEW |