Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1915833002: Introduce Platform::cacheMetadataInCacheStorage() to store V8 code cache in CacheStorage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated vogelheim's comment Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 // Add BrowserPluginMessageFilter to ensure it gets the first stab at messages 859 // Add BrowserPluginMessageFilter to ensure it gets the first stab at messages
860 // from guests. 860 // from guests.
861 scoped_refptr<BrowserPluginMessageFilter> bp_message_filter( 861 scoped_refptr<BrowserPluginMessageFilter> bp_message_filter(
862 new BrowserPluginMessageFilter(GetID())); 862 new BrowserPluginMessageFilter(GetID()));
863 AddFilter(bp_message_filter.get()); 863 AddFilter(bp_message_filter.get());
864 864
865 scoped_refptr<net::URLRequestContextGetter> request_context( 865 scoped_refptr<net::URLRequestContextGetter> request_context(
866 storage_partition_impl_->GetURLRequestContext()); 866 storage_partition_impl_->GetURLRequestContext());
867 scoped_refptr<RenderMessageFilter> render_message_filter( 867 scoped_refptr<RenderMessageFilter> render_message_filter(
868 new RenderMessageFilter( 868 new RenderMessageFilter(
869 GetID(), GetBrowserContext(), 869 GetID(), GetBrowserContext(), request_context.get(),
870 request_context.get(),
871 widget_helper_.get(), audio_manager, media_internals, 870 widget_helper_.get(), audio_manager, media_internals,
872 storage_partition_impl_->GetDOMStorageContext())); 871 storage_partition_impl_->GetDOMStorageContext(),
872 storage_partition_impl_->GetCacheStorageContext()));
873 AddFilter(render_message_filter.get()); 873 AddFilter(render_message_filter.get());
874 AddFilter(new RenderFrameMessageFilter( 874 AddFilter(new RenderFrameMessageFilter(
875 GetID(), 875 GetID(),
876 #if defined(ENABLE_PLUGINS) 876 #if defined(ENABLE_PLUGINS)
877 PluginServiceImpl::GetInstance(), 877 PluginServiceImpl::GetInstance(),
878 #else 878 #else
879 nullptr, 879 nullptr,
880 #endif 880 #endif
881 GetBrowserContext(), 881 GetBrowserContext(),
882 request_context.get(), 882 request_context.get(),
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after
2796 2796
2797 // Skip widgets in other processes. 2797 // Skip widgets in other processes.
2798 if (rvh->GetProcess()->GetID() != GetID()) 2798 if (rvh->GetProcess()->GetID() != GetID())
2799 continue; 2799 continue;
2800 2800
2801 rvh->OnWebkitPreferencesChanged(); 2801 rvh->OnWebkitPreferencesChanged();
2802 } 2802 }
2803 } 2803 }
2804 2804
2805 } // namespace content 2805 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698