| OLD | NEW | 
|    1  |    1  | 
|    2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |    2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 
|    3 // Use of this source code is governed by a BSD-style license that can be |    3 // Use of this source code is governed by a BSD-style license that can be | 
|    4 // found in the LICENSE file. |    4 // found in the LICENSE file. | 
|    5  |    5  | 
|    6 #include <stdlib.h> |    6 #include <stdlib.h> | 
|    7  |    7  | 
|    8 #include "chrome/common/url_constants.h" |    8 #include "chrome/common/url_constants.h" | 
|    9 #include "googleurl/src/url_util.h" |    9 #include "googleurl/src/url_util.h" | 
|   10  |   10  | 
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   64 const char kAboutShorthangURL[] = "about:shorthang"; |   64 const char kAboutShorthangURL[] = "about:shorthang"; | 
|   65 const char kAboutTermsURL[] = "about:terms"; |   65 const char kAboutTermsURL[] = "about:terms"; | 
|   66 const char kAboutVaporwareURL[] = "about:vaporware"; |   66 const char kAboutVaporwareURL[] = "about:vaporware"; | 
|   67 const char kAboutVersionURL[] = "about:version"; |   67 const char kAboutVersionURL[] = "about:version"; | 
|   68  |   68  | 
|   69 // Use an obfuscated URL to make this nondiscoverable, we only want this |   69 // Use an obfuscated URL to make this nondiscoverable, we only want this | 
|   70 // to be used for testing. |   70 // to be used for testing. | 
|   71 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; |   71 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; | 
|   72  |   72  | 
|   73 const char kChromeUIAboutAboutURL[] = "chrome://about/about"; |   73 const char kChromeUIAboutAboutURL[] = "chrome://about/about"; | 
 |   74 const char kChromeUIAboutCreditsURL[] = "chrome://about/credits"; | 
|   74 const char kChromeUIAboutURL[] = "chrome://settings/about"; |   75 const char kChromeUIAboutURL[] = "chrome://settings/about"; | 
|   75 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher"; |   76 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher"; | 
|   76 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; |   77 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; | 
|   77 const char kChromeUIBugReportURL[] = "chrome://bugreport/"; |   78 const char kChromeUIBugReportURL[] = "chrome://bugreport/"; | 
|   78 const char kChromeUIConflictsURL[] = "chrome://conflicts/"; |   79 const char kChromeUIConflictsURL[] = "chrome://conflicts/"; | 
|   79 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/"; |   80 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/"; | 
|   80 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/"; |   81 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/"; | 
|   81 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; |   82 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; | 
|   82 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; |   83 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; | 
|   83 const char kChromeUIFavIconURL[] = "chrome://favicon/"; |   84 const char kChromeUIFavIconURL[] = "chrome://favicon/"; | 
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  216  |  217  | 
|  217   // Prevent future modification of the standard schemes list. This is to |  218   // Prevent future modification of the standard schemes list. This is to | 
|  218   // prevent accidental creation of data races in the program. AddStandardScheme |  219   // prevent accidental creation of data races in the program. AddStandardScheme | 
|  219   // isn't threadsafe so must be called when GURL isn't used on any other |  220   // isn't threadsafe so must be called when GURL isn't used on any other | 
|  220   // thread. This is really easy to mess up, so we say that all calls to |  221   // thread. This is really easy to mess up, so we say that all calls to | 
|  221   // AddStandardScheme in Chrome must be inside this function. |  222   // AddStandardScheme in Chrome must be inside this function. | 
|  222   url_util::LockStandardSchemes(); |  223   url_util::LockStandardSchemes(); | 
|  223 } |  224 } | 
|  224  |  225  | 
|  225 }  // namespace chrome |  226 }  // namespace chrome | 
| OLD | NEW |