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