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

Side by Side Diff: content/public/common/url_constants.h

Issue 9950040: Get chrome:// dev tool urls hooked up in content_shell. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « content/public/common/content_client.h ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Special URL used to start a navigation to an error page. 59 // Special URL used to start a navigation to an error page.
60 extern const char kUnreachableWebDataURL[]; 60 extern const char kUnreachableWebDataURL[];
61 61
62 // Special URL used to swap out a view being rendered by another process. 62 // Special URL used to swap out a view being rendered by another process.
63 extern const char kSwappedOutURL[]; 63 extern const char kSwappedOutURL[];
64 64
65 // Null terminated list of schemes that are savable. This function can be 65 // Null terminated list of schemes that are savable. This function can be
66 // invoked on any thread. 66 // invoked on any thread.
67 CONTENT_EXPORT const char** GetSavableSchemes(); 67 CONTENT_EXPORT const char** GetSavableSchemes();
68 68
69 // Call near the beginning of startup to register the content layer's internal 69 // Note: ContentMainRunner calls this method internally as part of main
70 // URLs that should be parsed as "standard" with the googleurl library. The 70 // initialziation, so this function generally should not be called by
71 // embedder can pass a 0-terminated list of additional schemes that should be 71 // embedders. It's exported to facilitate test harnesses that do not
72 // savable, or NULL if the standard list is sufficient. 72 // utilize ContentMainRunner and that do not wish to lock the set
73 CONTENT_EXPORT void RegisterContentSchemes( 73 // of standard schemes at init time.
74 const char** additional_savable_schemes); 74 //
75 // Called near the beginning of startup to register URL schemes that should
76 // be parsed as "standard" with the googleurl library. Optionally, the set
77 // of standard schemes is locked down. The embedder can add additional
78 // schemes by overriding the ContentClient::AddAdditionalSchemes method.
79 CONTENT_EXPORT void RegisterContentSchemes(bool lock_standard_schemes);
75 80
76 } // namespace content 81 } // namespace content
77 82
78 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 83 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
OLDNEW
« no previous file with comments | « content/public/common/content_client.h ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698