OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "googleurl/src/url_util.h" | 7 #include "googleurl/src/url_util.h" |
8 | 8 |
9 namespace { | 9 namespace { |
10 const char* kSavableSchemes[] = { | 10 const char* kSavableSchemes[] = { |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 | 315 |
316 const char kSpeechInputAboutURL[] = | 316 const char kSpeechInputAboutURL[] = |
317 "https://www.google.com/support/chrome/bin/answer.py?answer=1407892"; | 317 "https://www.google.com/support/chrome/bin/answer.py?answer=1407892"; |
318 | 318 |
319 const char kLearnMoreRegisterProtocolHandlerURL[] = | 319 const char kLearnMoreRegisterProtocolHandlerURL[] = |
320 "http://www.google.com/support/chrome/bin/answer.py?answer=1382847"; | 320 "http://www.google.com/support/chrome/bin/answer.py?answer=1382847"; |
321 | 321 |
322 const char kSyncLearnMoreURL[] = | 322 const char kSyncLearnMoreURL[] = |
323 "http://www.google.com/support/chrome/bin/answer.py?answer=165139"; | 323 "http://www.google.com/support/chrome/bin/answer.py?answer=165139"; |
324 | 324 |
| 325 const char kDownloadScanningLearnMoreURL[] = |
| 326 "http://www.google.com/support/chrome/bin/answer.py?answer=99020"; |
| 327 |
325 #if defined(OS_CHROMEOS) | 328 #if defined(OS_CHROMEOS) |
326 const char kCloudPrintLearnMoreURL[] = | 329 const char kCloudPrintLearnMoreURL[] = |
327 "https://www.google.com/support/chromeos/bin/topic.py?topic=29023"; | 330 "https://www.google.com/support/chromeos/bin/topic.py?topic=29023"; |
328 #endif | 331 #endif |
329 | 332 |
330 const char* const kChromeDebugURLs[] = { | 333 const char* const kChromeDebugURLs[] = { |
331 kChromeUICrashURL, | 334 kChromeUICrashURL, |
332 kChromeUIKillURL, | 335 kChromeUIKillURL, |
333 kChromeUIHangURL, | 336 kChromeUIHangURL, |
334 kChromeUIShorthangURL, | 337 kChromeUIShorthangURL, |
335 kChromeUIGpuCleanURL, | 338 kChromeUIGpuCleanURL, |
336 kChromeUIGpuCrashURL, | 339 kChromeUIGpuCrashURL, |
337 kChromeUIGpuHangURL, | 340 kChromeUIGpuHangURL, |
338 }; | 341 }; |
339 int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs)); | 342 int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs)); |
340 | 343 |
341 const char kExtensionScheme[] = "chrome-extension"; | 344 const char kExtensionScheme[] = "chrome-extension"; |
342 | 345 |
343 void RegisterChromeSchemes() { | 346 void RegisterChromeSchemes() { |
344 url_util::AddStandardScheme(kExtensionScheme); | 347 url_util::AddStandardScheme(kExtensionScheme); |
345 #if defined(OS_CHROMEOS) | 348 #if defined(OS_CHROMEOS) |
346 url_util::AddStandardScheme(kCrosScheme); | 349 url_util::AddStandardScheme(kCrosScheme); |
347 #endif | 350 #endif |
348 | 351 |
349 // This call will also lock the list of standard schemes. | 352 // This call will also lock the list of standard schemes. |
350 RegisterContentSchemes(kSavableSchemes); | 353 RegisterContentSchemes(kSavableSchemes); |
351 } | 354 } |
352 | 355 |
353 } // namespace chrome | 356 } // namespace chrome |
OLD | NEW |