summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-09 20:08:38 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-09 20:08:38 +0000
commitcbee936231bafb19a7be8a2eec44470b40ad326b (patch)
tree9fa16580973989bd88aa2512a4ec4d91c5047626 /content/browser/renderer_host
parent63d0b16f3b1a94ea57bbfa420b12fd0357337084 (diff)
downloadchromium_src-cbee936231bafb19a7be8a2eec44470b40ad326b.zip
chromium_src-cbee936231bafb19a7be8a2eec44470b40ad326b.tar.gz
chromium_src-cbee936231bafb19a7be8a2eec44470b40ad326b.tar.bz2
Removal of Profile from content part 7.
BUG=76788 TEST=no change visible Review URL: http://codereview.chromium.org/7575010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host')
-rw-r--r--content/browser/renderer_host/database_message_filter.cc2
-rw-r--r--content/browser/renderer_host/database_message_filter.h4
-rw-r--r--content/browser/renderer_host/render_process_host.cc1
-rw-r--r--content/browser/renderer_host/render_view_host.cc4
-rw-r--r--content/browser/renderer_host/socket_stream_dispatcher_host.cc1
5 files changed, 5 insertions, 7 deletions
diff --git a/content/browser/renderer_host/database_message_filter.cc b/content/browser/renderer_host/database_message_filter.cc
index ad994d7..ffe68ad 100644
--- a/content/browser/renderer_host/database_message_filter.cc
+++ b/content/browser/renderer_host/database_message_filter.cc
@@ -150,7 +150,7 @@ void DatabaseMessageFilter::OnDatabaseOpenFile(const string16& vfs_file_name,
string16 database_name;
// When in incognito mode, we want to make sure that all DB files are
- // removed when the incognito profile goes away, so we add the
+ // removed when the incognito browser context goes away, so we add the
// SQLITE_OPEN_DELETEONCLOSE flag when opening all files, and keep
// open handles to them in the database tracker to make sure they're
// around for as long as needed.
diff --git a/content/browser/renderer_host/database_message_filter.h b/content/browser/renderer_host/database_message_filter.h
index 73705d2..fa6acbb 100644
--- a/content/browser/renderer_host/database_message_filter.h
+++ b/content/browser/renderer_host/database_message_filter.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 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.
@@ -75,7 +75,7 @@ class DatabaseMessageFilter
IPC::Message* reply_msg,
int reschedule_count);
- // The database tracker for the current profile.
+ // The database tracker for the current browser context.
scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
// True if and only if this instance was added as an observer
diff --git a/content/browser/renderer_host/render_process_host.cc b/content/browser/renderer_host/render_process_host.cc
index 93eac4d..dff7830 100644
--- a/content/browser/renderer_host/render_process_host.cc
+++ b/content/browser/renderer_host/render_process_host.cc
@@ -6,7 +6,6 @@
#include "base/rand_util.h"
#include "base/sys_info.h"
-#include "chrome/browser/profiles/profile.h"
#include "content/browser/browser_thread.h"
#include "content/browser/child_process_security_policy.h"
#include "content/common/child_process_info.h"
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index 4d0985d..a2ea20a 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -15,7 +15,7 @@
#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
-#include "chrome/browser/profiles/profile.h"
+#include "content/browser/browser_context.h"
#include "content/browser/browser_message_filter.h"
#include "content/browser/child_process_security_policy.h"
#include "content/browser/content_browser_client.h"
@@ -1283,7 +1283,7 @@ void RenderViewHost::OnDidZoomURL(double zoom_level,
HostZoomMap* host_zoom_map = process()->browser_context()->GetHostZoomMap();
if (remember) {
host_zoom_map->SetZoomLevel(net::GetHostOrSpecFromURL(url), zoom_level);
- // Notify renderers from this profile.
+ // Notify renderers from this browser context.
for (RenderProcessHost::iterator i(RenderProcessHost::AllHostsIterator());
!i.IsAtEnd(); i.Advance()) {
RenderProcessHost* render_process_host = i.GetCurrentValue();
diff --git a/content/browser/renderer_host/socket_stream_dispatcher_host.cc b/content/browser/renderer_host/socket_stream_dispatcher_host.cc
index fc29335..a4f7961 100644
--- a/content/browser/renderer_host/socket_stream_dispatcher_host.cc
+++ b/content/browser/renderer_host/socket_stream_dispatcher_host.cc
@@ -5,7 +5,6 @@
#include "content/browser/renderer_host/socket_stream_dispatcher_host.h"
#include "base/logging.h"
-#include "chrome/browser/profiles/profile.h"
#include "content/browser/content_browser_client.h"
#include "content/browser/renderer_host/socket_stream_host.h"
#include "content/common/socket_stream.h"