summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_instance.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-29 04:02:38 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-29 04:02:38 +0000
commit80a8fad9c0be753eb64f5a9d8cd97dbb34fb36fe (patch)
tree63a6f115d185b10701f11cd86d8fede5fe8a2711 /chrome/browser/browsing_instance.cc
parent37885c566d752b0d19de8533eb6aab97bf6ac799 (diff)
downloadchromium_src-80a8fad9c0be753eb64f5a9d8cd97dbb34fb36fe.zip
chromium_src-80a8fad9c0be753eb64f5a9d8cd97dbb34fb36fe.tar.gz
chromium_src-80a8fad9c0be753eb64f5a9d8cd97dbb34fb36fe.tar.bz2
WebUI: Rename DOMUIFactory to WebUIFactory.
BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6269024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_instance.cc')
-rw-r--r--chrome/browser/browsing_instance.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/browsing_instance.cc b/chrome/browser/browsing_instance.cc
index 4266e8c..b729565 100644
--- a/chrome/browser/browsing_instance.cc
+++ b/chrome/browser/browsing_instance.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,13 +6,13 @@
#include "base/command_line.h"
#include "base/logging.h"
-#include "chrome/browser/dom_ui/dom_ui_factory.h"
+#include "chrome/browser/dom_ui/web_ui_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/renderer_host/site_instance.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/url_constants.h"
-/*static*/
+// static
BrowsingInstance::ProfileSiteInstanceMap
BrowsingInstance::profile_site_instance_map_;
@@ -29,7 +29,7 @@ bool BrowsingInstance::ShouldUseProcessPerSite(const GURL& url) {
if (command_line.HasSwitch(switches::kProcessPerSite))
return true;
- // We want to consolidate particular sites like extensions and DOMUI whether
+ // We want to consolidate particular sites like extensions and WebUI whether
// it is in process-per-tab or process-per-site-instance.
// Note that --single-process may have been specified, but that affects the
// process creation logic in RenderProcessHost, so we do not need to worry
@@ -38,8 +38,8 @@ bool BrowsingInstance::ShouldUseProcessPerSite(const GURL& url) {
if (url.SchemeIs(chrome::kExtensionScheme))
return true;
- // DevTools pages have DOMUI type but should not reuse the same host.
- if (DOMUIFactory::UseDOMUIForURL(profile_, url) &&
+ // DevTools pages have WebUI type but should not reuse the same host.
+ if (WebUIFactory::UseWebUIForURL(profile_, url) &&
!url.SchemeIs(chrome::kChromeDevToolsScheme))
return true;