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

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

Issue 2291002: Add test that verifies web-page to chrome communication. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 9
10 namespace chrome { 10 namespace chrome {
11 11
12 // Canonical schemes you can use as input to GURL.SchemeIs(). 12 // Canonical schemes you can use as input to GURL.SchemeIs().
13 extern const char kAboutScheme[]; 13 extern const char kAboutScheme[];
14 extern const char kChromeInternalScheme[]; 14 extern const char kChromeInternalScheme[];
15 extern const char kChromeUIScheme[]; // The scheme used for DOMUIs. 15 extern const char kChromeUIScheme[]; // The scheme used for DOMUIs.
16 extern const char kCrosScheme[]; // The scheme used for ChromeOS.
16 extern const char kDataScheme[]; 17 extern const char kDataScheme[];
17 extern const char kExtensionScheme[]; 18 extern const char kExtensionScheme[];
18 extern const char kFileScheme[]; 19 extern const char kFileScheme[];
19 extern const char kFtpScheme[]; 20 extern const char kFtpScheme[];
20 extern const char kGearsScheme[]; 21 extern const char kGearsScheme[];
21 extern const char kHttpScheme[]; 22 extern const char kHttpScheme[];
22 extern const char kHttpsScheme[]; 23 extern const char kHttpsScheme[];
23 extern const char kJavaScriptScheme[]; 24 extern const char kJavaScriptScheme[];
24 extern const char kMailToScheme[]; 25 extern const char kMailToScheme[];
25 extern const char kMetadataScheme[]; 26 extern const char kMetadataScheme[];
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 extern const char kNetworkViewCacheURL[]; 102 extern const char kNetworkViewCacheURL[];
102 extern const char kNetworkViewInternalsURL[]; 103 extern const char kNetworkViewInternalsURL[];
103 104
104 // Call near the beginning of startup to register Chrome's internal URLs that 105 // Call near the beginning of startup to register Chrome's internal URLs that
105 // should be parsed as "standard" with the googleurl library. 106 // should be parsed as "standard" with the googleurl library.
106 void RegisterChromeSchemes(); 107 void RegisterChromeSchemes();
107 108
108 } // namespace chrome 109 } // namespace chrome
109 110
110 #endif // CHROME_COMMON_URL_CONSTANTS_H_ 111 #endif // CHROME_COMMON_URL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698