| 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 chrome { | 9 namespace chrome { |
| 10 | 10 |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 | 293 |
| 294 const char kBlockedPluginLearnMoreURL[] = | 294 const char kBlockedPluginLearnMoreURL[] = |
| 295 "https://www.google.com/support/chrome/bin/answer.py?answer=1247383"; | 295 "https://www.google.com/support/chrome/bin/answer.py?answer=1247383"; |
| 296 | 296 |
| 297 const char kSpeechInputAboutURL[] = | 297 const char kSpeechInputAboutURL[] = |
| 298 "https://www.google.com/support/chrome/bin/answer.py?answer=1407892"; | 298 "https://www.google.com/support/chrome/bin/answer.py?answer=1407892"; |
| 299 | 299 |
| 300 const char kLearnMoreRegisterProtocolHandlerURL[] = | 300 const char kLearnMoreRegisterProtocolHandlerURL[] = |
| 301 "http://www.google.com/support/chrome/bin/answer.py?answer=1382847"; | 301 "http://www.google.com/support/chrome/bin/answer.py?answer=1382847"; |
| 302 | 302 |
| 303 const char kSyncLearnMoreURL[] = |
| 304 "http://www.google.com/support/chrome/bin/answer.py?answer=165139"; |
| 305 |
| 303 #if defined(OS_CHROMEOS) | 306 #if defined(OS_CHROMEOS) |
| 304 const char kCloudPrintLearnMoreURL[] = | 307 const char kCloudPrintLearnMoreURL[] = |
| 305 "https://www.google.com/support/chromeos/bin/topic.py?topic=29023"; | 308 "https://www.google.com/support/chromeos/bin/topic.py?topic=29023"; |
| 306 #endif | 309 #endif |
| 307 | 310 |
| 308 const char* const kChromeDebugURLs[] = { | 311 const char* const kChromeDebugURLs[] = { |
| 309 kChromeUICrashURL, | 312 kChromeUICrashURL, |
| 310 kChromeUIKillURL, | 313 kChromeUIKillURL, |
| 311 kChromeUIHangURL, | 314 kChromeUIHangURL, |
| 312 kChromeUIShorthangURL, | 315 kChromeUIShorthangURL, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 329 | 332 |
| 330 // Prevent future modification of the standard schemes list. This is to | 333 // Prevent future modification of the standard schemes list. This is to |
| 331 // prevent accidental creation of data races in the program. AddStandardScheme | 334 // prevent accidental creation of data races in the program. AddStandardScheme |
| 332 // isn't threadsafe so must be called when GURL isn't used on any other | 335 // isn't threadsafe so must be called when GURL isn't used on any other |
| 333 // thread. This is really easy to mess up, so we say that all calls to | 336 // thread. This is really easy to mess up, so we say that all calls to |
| 334 // AddStandardScheme in Chrome must be inside this function. | 337 // AddStandardScheme in Chrome must be inside this function. |
| 335 url_util::LockStandardSchemes(); | 338 url_util::LockStandardSchemes(); |
| 336 } | 339 } |
| 337 | 340 |
| 338 } // namespace chrome | 341 } // namespace chrome |
| OLD | NEW |