diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 16:00:21 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 16:00:21 +0000 |
commit | 10bf1a7030eeed02e2af95eaff012d2428ea5bc2 (patch) | |
tree | f381f0333bb9901aca6d2d5e2b0fdbfc5743b6d2 /chrome_frame/utils.h | |
parent | 7f14e1fd31ddd510b19e2d9f6942c45435c9a8c6 (diff) | |
download | chromium_src-10bf1a7030eeed02e2af95eaff012d2428ea5bc2.zip chromium_src-10bf1a7030eeed02e2af95eaff012d2428ea5bc2.tar.gz chromium_src-10bf1a7030eeed02e2af95eaff012d2428ea5bc2.tar.bz2 |
Committing patch 256001 for Roger:http://codereview.chromium.org/256001Allow Chrome Frame to display chrome-extension URLs when running in privilegedmode.BUG=noneTEST=see unit tests
Review URL: http://codereview.chromium.org/246050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27724 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/utils.h')
-rw-r--r-- | chrome_frame/utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h index 80b9a53..baece31 100644 --- a/chrome_frame/utils.h +++ b/chrome_frame/utils.h @@ -219,7 +219,8 @@ HRESULT GetUrlFromMoniker(IMoniker* moniker, IBindCtx* bind_context, // Returns true if the URL passed in is something which can be handled by // Chrome. If this function returns false then we should fail the navigation. -bool IsValidUrlScheme(const std::wstring& url); +// When is_privileged is true, chrome extension URLs will be considered valid. +bool IsValidUrlScheme(const std::wstring& url, bool is_privileged); // This returns the base directory in which to store user profiles. bool GetUserProfileBaseDirectory(std::wstring* path); |