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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include "chrome/common/url_constants.h" | 7 #include "chrome/common/url_constants.h" |
8 #include "googleurl/src/url_util.h" | 8 #include "googleurl/src/url_util.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 const char kBlobViewInternalsURL[] = "chrome://blob-internals/"; | 161 const char kBlobViewInternalsURL[] = "chrome://blob-internals/"; |
162 | 162 |
163 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; | 163 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; |
164 const char kCloudPrintResourcesHost[] = "cloudprintresources"; | 164 const char kCloudPrintResourcesHost[] = "cloudprintresources"; |
165 const char kCloudPrintSetupHost[] = "cloudprintsetup"; | 165 const char kCloudPrintSetupHost[] = "cloudprintsetup"; |
166 | 166 |
167 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; | 167 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; |
168 const char kNetworkViewCacheURL[] = "chrome://view-http-cache/"; | 168 const char kNetworkViewCacheURL[] = "chrome://view-http-cache/"; |
169 | 169 |
170 const char kSyncViewInternalsURL[] = "chrome://sync-internals/"; | 170 const char kSyncViewInternalsURL[] = "chrome://sync-internals/"; |
| 171 const char kSyncGoogleDashboardURL[] = "https://www.google.com/dashboard/"; |
171 | 172 |
172 // GPU sub pages | 173 // GPU sub pages |
173 const char kGpuInternalsURL[] = "chrome://gpu-internals/"; | 174 const char kGpuInternalsURL[] = "chrome://gpu-internals/"; |
174 | 175 |
175 // Option sub pages. | 176 // Option sub pages. |
176 const char kAdvancedOptionsSubPage[] = "advanced"; | 177 const char kAdvancedOptionsSubPage[] = "advanced"; |
177 const char kAutofillSubPage[] = "autofill"; | 178 const char kAutofillSubPage[] = "autofill"; |
178 const char kBrowserOptionsSubPage[] = "browser"; | 179 const char kBrowserOptionsSubPage[] = "browser"; |
179 const char kClearBrowserDataSubPage[] = "clearBrowserData"; | 180 const char kClearBrowserDataSubPage[] = "clearBrowserData"; |
180 const char kContentSettingsSubPage[] = "content"; | 181 const char kContentSettingsSubPage[] = "content"; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 | 261 |
261 // Prevent future modification of the standard schemes list. This is to | 262 // Prevent future modification of the standard schemes list. This is to |
262 // prevent accidental creation of data races in the program. AddStandardScheme | 263 // prevent accidental creation of data races in the program. AddStandardScheme |
263 // isn't threadsafe so must be called when GURL isn't used on any other | 264 // isn't threadsafe so must be called when GURL isn't used on any other |
264 // thread. This is really easy to mess up, so we say that all calls to | 265 // thread. This is really easy to mess up, so we say that all calls to |
265 // AddStandardScheme in Chrome must be inside this function. | 266 // AddStandardScheme in Chrome must be inside this function. |
266 url_util::LockStandardSchemes(); | 267 url_util::LockStandardSchemes(); |
267 } | 268 } |
268 | 269 |
269 } // namespace chrome | 270 } // namespace chrome |
OLD | NEW |