Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer

This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
This commit is contained in:
J. Ryan Stinnett
2016-02-04 19:42:44 -06:00
parent 710cb4a9e5
commit f6d23d0dde
114 changed files with 365 additions and 351 deletions

View File

@@ -178,7 +178,7 @@ LoadContext::GetIsInBrowserElement(bool* aIsInBrowserElement)
NS_ENSURE_ARG_POINTER(aIsInBrowserElement);
*aIsInBrowserElement = mOriginAttributes.mInBrowser;
*aIsInBrowserElement = mOriginAttributes.mInIsolatedMozBrowser;
return NS_OK;
}