| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 | 285 |
| 286 const char kBlockedPluginLearnMoreURL[] = | 286 const char kBlockedPluginLearnMoreURL[] = |
| 287 "https://www.google.com/support/chrome/bin/answer.py?answer=1247383"; | 287 "https://www.google.com/support/chrome/bin/answer.py?answer=1247383"; |
| 288 | 288 |
| 289 const char kSpeechInputAboutURL[] = | 289 const char kSpeechInputAboutURL[] = |
| 290 "https://www.google.com/support/chrome/bin/answer.py?answer=1407892"; | 290 "https://www.google.com/support/chrome/bin/answer.py?answer=1407892"; |
| 291 | 291 |
| 292 const char kLearnMoreRegisterProtocolHandlerURL[] = | 292 const char kLearnMoreRegisterProtocolHandlerURL[] = |
| 293 "http://www.google.com/support/chrome/bin/answer.py?answer=1382847"; | 293 "http://www.google.com/support/chrome/bin/answer.py?answer=1382847"; |
| 294 | 294 |
| 295 const char kSyncLearnMoreURL[] = | |
| 296 "http://www.google.com/support/chrome/bin/answer.py?answer=165139"; | |
| 297 | |
| 298 #if defined(OS_CHROMEOS) | 295 #if defined(OS_CHROMEOS) |
| 299 const char kCloudPrintLearnMoreURL[] = | 296 const char kCloudPrintLearnMoreURL[] = |
| 300 "https://www.google.com/support/chromeos/bin/topic.py?topic=29023"; | 297 "https://www.google.com/support/chromeos/bin/topic.py?topic=29023"; |
| 301 #endif | 298 #endif |
| 302 | 299 |
| 303 const char* const kChromeDebugURLs[] = { | 300 const char* const kChromeDebugURLs[] = { |
| 304 kChromeUICrashURL, | 301 kChromeUICrashURL, |
| 305 kChromeUIKillURL, | 302 kChromeUIKillURL, |
| 306 kChromeUIHangURL, | 303 kChromeUIHangURL, |
| 307 kChromeUIShorthangURL, | 304 kChromeUIShorthangURL, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 324 | 321 |
| 325 // Prevent future modification of the standard schemes list. This is to | 322 // Prevent future modification of the standard schemes list. This is to |
| 326 // prevent accidental creation of data races in the program. AddStandardScheme | 323 // prevent accidental creation of data races in the program. AddStandardScheme |
| 327 // isn't threadsafe so must be called when GURL isn't used on any other | 324 // isn't threadsafe so must be called when GURL isn't used on any other |
| 328 // thread. This is really easy to mess up, so we say that all calls to | 325 // thread. This is really easy to mess up, so we say that all calls to |
| 329 // AddStandardScheme in Chrome must be inside this function. | 326 // AddStandardScheme in Chrome must be inside this function. |
| 330 url_util::LockStandardSchemes(); | 327 url_util::LockStandardSchemes(); |
| 331 } | 328 } |
| 332 | 329 |
| 333 } // namespace chrome | 330 } // namespace chrome |
| OLD | NEW |