Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Side by Side Diff: chrome/common/url_constants.cc

Issue 4136004: Track in which frames navigation errors occurred and don't send further navigation events for them (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/extensions
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 const char kChromeUIMediaplayerHost[] = "mediaplayer"; 131 const char kChromeUIMediaplayerHost[] = "mediaplayer";
132 const char kChromeUIMobileSetupHost[] = "mobilesetup"; 132 const char kChromeUIMobileSetupHost[] = "mobilesetup";
133 const char kChromeUIRegisterPageHost[] = "register"; 133 const char kChromeUIRegisterPageHost[] = "register";
134 const char kChromeUISlideshowHost[] = "slideshow"; 134 const char kChromeUISlideshowHost[] = "slideshow";
135 const char kChromeUISystemInfoHost[] = "system"; 135 const char kChromeUISystemInfoHost[] = "system";
136 const char kChromeUIMenu[] = "menu"; 136 const char kChromeUIMenu[] = "menu";
137 const char kChromeUIWrenchMenu[] = "wrench-menu"; 137 const char kChromeUIWrenchMenu[] = "wrench-menu";
138 const char kChromeUINetworkMenu[] = "network-menu"; 138 const char kChromeUINetworkMenu[] = "network-menu";
139 #endif 139 #endif
140 140
141 const char kChromeUnreachableWebDataURL[] = "chrome://chromewebdata/";
Matt Perry 2010/10/27 19:23:42 nit: the "Chrome" part of this name seems redundan
142
141 const char kAppCacheViewInternalsURL[] = "chrome://appcache-internals/"; 143 const char kAppCacheViewInternalsURL[] = "chrome://appcache-internals/";
142 144
143 const char kBlobViewInternalsURL[] = "chrome://blob-internals/"; 145 const char kBlobViewInternalsURL[] = "chrome://blob-internals/";
144 146
145 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; 147 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/";
146 const char kCloudPrintResourcesHost[] = "cloudprintresources"; 148 const char kCloudPrintResourcesHost[] = "cloudprintresources";
147 149
148 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; 150 const char kNetworkViewInternalsURL[] = "chrome://net-internals/";
149 const char kNetworkViewCacheURL[] = "chrome://view-http-cache/"; 151 const char kNetworkViewCacheURL[] = "chrome://view-http-cache/";
150 152
(...skipping 28 matching lines...) Expand all
179 181
180 // Prevent future modification of the standard schemes list. This is to 182 // Prevent future modification of the standard schemes list. This is to
181 // prevent accidental creation of data races in the program. AddStandardScheme 183 // prevent accidental creation of data races in the program. AddStandardScheme
182 // isn't threadsafe so must be called when GURL isn't used on any other 184 // isn't threadsafe so must be called when GURL isn't used on any other
183 // thread. This is really easy to mess up, so we say that all calls to 185 // thread. This is really easy to mess up, so we say that all calls to
184 // AddStandardScheme in Chrome must be inside this function. 186 // AddStandardScheme in Chrome must be inside this function.
185 url_util::LockStandardSchemes(); 187 url_util::LockStandardSchemes();
186 } 188 }
187 189
188 } // namespace chrome 190 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698