summaryrefslogtreecommitdiffstats
path: root/content/browser/in_process_webkit
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/in_process_webkit')
-rw-r--r--content/browser/in_process_webkit/dom_storage_context.h10
-rw-r--r--content/browser/in_process_webkit/dom_storage_message_filter.h2
-rw-r--r--content/browser/in_process_webkit/indexed_db_dispatcher_host.h3
-rw-r--r--content/browser/in_process_webkit/webkit_context.h10
4 files changed, 12 insertions, 13 deletions
diff --git a/content/browser/in_process_webkit/dom_storage_context.h b/content/browser/in_process_webkit/dom_storage_context.h
index 2d3c667..4b5e639 100644
--- a/content/browser/in_process_webkit/dom_storage_context.h
+++ b/content/browser/in_process_webkit/dom_storage_context.h
@@ -24,10 +24,10 @@ class SpecialStoragePolicy;
}
// This is owned by WebKitContext and is all the dom storage information that's
-// shared by all the DOMStorageMessageFilters that share the same profile. The
-// specifics of responsibilities are fairly well documented here and in
-// StorageNamespace and StorageArea. Everything is only to be accessed on the
-// WebKit thread unless noted otherwise.
+// shared by all the DOMStorageMessageFilters that share the same browser
+// context. The specifics of responsibilities are fairly well documented here
+// and in StorageNamespace and StorageArea. Everything is only to be accessed
+// on the WebKit thread unless noted otherwise.
//
// NOTE: Virtual methods facilitate mocking functions for testing.
class DOMStorageContext {
@@ -136,7 +136,7 @@ class DOMStorageContext {
// True if the destructor should delete its files.
bool clear_local_state_on_exit_;
- // Path where the profile data is stored.
+ // Path where the browser context data is stored.
// TODO(pastarmovj): Keep in mind that unlike indexed db data_path_ variable
// this one still has to point to the upper level dir because of the
// MigrateLocalStorageDirectory function. Once this function disappears we can
diff --git a/content/browser/in_process_webkit/dom_storage_message_filter.h b/content/browser/in_process_webkit/dom_storage_message_filter.h
index 9ac9034..315a2a7 100644
--- a/content/browser/in_process_webkit/dom_storage_message_filter.h
+++ b/content/browser/in_process_webkit/dom_storage_message_filter.h
@@ -80,7 +80,7 @@ class DOMStorageMessageFilter : public BrowserMessageFilter {
static DOMStorageMessageFilter* storage_event_message_filter;
static const GURL* storage_event_url_;
- // Data shared between renderer processes with the same profile.
+ // Data shared between renderer processes with the same browser context.
scoped_refptr<WebKitContext> webkit_context_;
// Used to dispatch messages to the correct view host.
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
index 85b97b8..dd0737d 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
@@ -14,7 +14,6 @@
class IndexedDBKey;
class NullableString16;
-class Profile;
class SerializedScriptValue;
struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params;
struct IndexedDBHostMsg_FactoryDeleteDatabase_Params;
@@ -263,7 +262,7 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
WebIDBTransactionIDToSizeMap transaction_size_map_;
};
- // Data shared between renderer processes with the same profile.
+ // Data shared between renderer processes with the same browser context.
scoped_refptr<WebKitContext> webkit_context_;
// Only access on WebKit thread.
diff --git a/content/browser/in_process_webkit/webkit_context.h b/content/browser/in_process_webkit/webkit_context.h
index fa2d32d..6992d77 100644
--- a/content/browser/in_process_webkit/webkit_context.h
+++ b/content/browser/in_process_webkit/webkit_context.h
@@ -24,10 +24,10 @@ class QuotaManagerProxy;
class SpecialStoragePolicy;
}
-// There's one WebKitContext per profile. Various DispatcherHost classes
-// have a pointer to the Context to store shared state. Unfortunately, this
-// class has become a bit of a dumping ground for calls made on the UI thread
-// that need to be proxied over to the WebKit thread.
+// There's one WebKitContext per browser context. Various DispatcherHost
+// classes have a pointer to the Context to store shared state. Unfortunately,
+// this class has become a bit of a dumping ground for calls made on the UI
+// thread that need to be proxied over to the WebKit thread.
//
// This class is created on the UI thread and accessed on the UI, IO, and WebKit
// threads.
@@ -77,7 +77,7 @@ class WebKitContext : public base::RefCountedThreadSafe<WebKitContext> {
friend class base::RefCountedThreadSafe<WebKitContext>;
virtual ~WebKitContext();
- // Copies of profile data that can be accessed on any thread.
+ // Copies of browser context data that can be accessed on any thread.
const FilePath data_path_;
const bool is_incognito_;