summaryrefslogtreecommitdiffstats
path: root/content/browser/site_instance_impl.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-09 00:54:37 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-09 00:54:37 +0000
commit6eb1a11e8f4b4e9239f5631646644af4236c4fa9 (patch)
tree4a2997c1c66ec990d4a158ef9c7b58dca593ab34 /content/browser/site_instance_impl.cc
parent74c4cd10318d803ac6a84f7d9a93a92f3ec03b9e (diff)
downloadchromium_src-6eb1a11e8f4b4e9239f5631646644af4236c4fa9.zip
chromium_src-6eb1a11e8f4b4e9239f5631646644af4236c4fa9.tar.gz
chromium_src-6eb1a11e8f4b4e9239f5631646644af4236c4fa9.tar.bz2
Move kGuestScheme into content namespace.
BUG=None TEST=None, no functional changes. R=jam@chromium.org Review URL: https://codereview.chromium.org/26155002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/site_instance_impl.cc')
-rw-r--r--content/browser/site_instance_impl.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc
index ade96cb..3682e40 100644
--- a/content/browser/site_instance_impl.cc
+++ b/content/browser/site_instance_impl.cc
@@ -122,10 +122,10 @@ RenderProcessHost* SiteInstanceImpl::GetProcess() {
BrowserContext::GetStoragePartition(browser_context, this));
bool supports_browser_plugin = GetContentClient()->browser()->
SupportsBrowserPlugin(browser_context, site_);
- process_ =
- new RenderProcessHostImpl(browser_context, partition,
- supports_browser_plugin,
- site_.SchemeIs(chrome::kGuestScheme));
+ process_ = new RenderProcessHostImpl(browser_context,
+ partition,
+ supports_browser_plugin,
+ site_.SchemeIs(kGuestScheme));
}
}
CHECK(process_);
@@ -281,7 +281,7 @@ bool SiteInstance::IsSameWebSite(BrowserContext* browser_context,
GURL SiteInstance::GetSiteForURL(BrowserContext* browser_context,
const GURL& real_url) {
// TODO(fsamuel, creis): For some reason appID is not recognized as a host.
- if (real_url.SchemeIs(chrome::kGuestScheme))
+ if (real_url.SchemeIs(kGuestScheme))
return real_url;
GURL url = SiteInstanceImpl::GetEffectiveURL(browser_context, real_url);