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

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

Issue 8159006: Move kExtensionScheme from content to chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 2 months 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 // 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 // Contains constants for known URLs and portions thereof. 5 // Contains constants for known URLs and portions thereof.
6 6
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_
8 #define CHROME_COMMON_URL_CONSTANTS_H_ 8 #define CHROME_COMMON_URL_CONSTANTS_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // The URL for the "Learn more" page for register protocol handler infobars. 278 // The URL for the "Learn more" page for register protocol handler infobars.
279 extern const char kLearnMoreRegisterProtocolHandlerURL[]; 279 extern const char kLearnMoreRegisterProtocolHandlerURL[];
280 280
281 // The URL for the "Learn more" page for sync setup on the personal stuff page. 281 // The URL for the "Learn more" page for sync setup on the personal stuff page.
282 extern const char kSyncLearnMoreURL[]; 282 extern const char kSyncLearnMoreURL[];
283 283
284 // "Debug" pages which are dangerous and not for general consumption. 284 // "Debug" pages which are dangerous and not for general consumption.
285 extern const char* const kChromeDebugURLs[]; 285 extern const char* const kChromeDebugURLs[];
286 extern int kNumberOfChromeDebugURLs; 286 extern int kNumberOfChromeDebugURLs;
287 287
288 // Canonical schemes you can use as input to GURL.SchemeIs().
289 extern const char kExtensionScheme[];
290
288 // Call near the beginning of startup to register Chrome's internal URLs that 291 // Call near the beginning of startup to register Chrome's internal URLs that
289 // should be parsed as "standard" with the googleurl library. 292 // should be parsed as "standard" with the googleurl library.
290 void RegisterChromeSchemes(); 293 void RegisterChromeSchemes();
291 294
292 #if defined(OS_CHROMEOS) 295 #if defined(OS_CHROMEOS)
293 // "Learn more" URL for the Cloud Print section under Options. 296 // "Learn more" URL for the Cloud Print section under Options.
294 extern const char kCloudPrintLearnMoreURL[]; 297 extern const char kCloudPrintLearnMoreURL[];
295 #endif 298 #endif
296 299
297 } // namespace chrome 300 } // namespace chrome
298 301
299 #endif // CHROME_COMMON_URL_CONSTANTS_H_ 302 #endif // CHROME_COMMON_URL_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/task_manager_resource_providers.cc ('k') | chrome/common/url_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698