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

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: add comments in render_process_messages.h 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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 // Add BrowserPluginMessageFilter to ensure it gets the first stab at messages 820 // Add BrowserPluginMessageFilter to ensure it gets the first stab at messages
821 // from guests. 821 // from guests.
822 scoped_refptr<BrowserPluginMessageFilter> bp_message_filter( 822 scoped_refptr<BrowserPluginMessageFilter> bp_message_filter(
823 new BrowserPluginMessageFilter(GetID())); 823 new BrowserPluginMessageFilter(GetID()));
824 AddFilter(bp_message_filter.get()); 824 AddFilter(bp_message_filter.get());
825 825
826 scoped_refptr<net::URLRequestContextGetter> request_context( 826 scoped_refptr<net::URLRequestContextGetter> request_context(
827 storage_partition_impl_->GetURLRequestContext()); 827 storage_partition_impl_->GetURLRequestContext());
828 scoped_refptr<RenderMessageFilter> render_message_filter( 828 scoped_refptr<RenderMessageFilter> render_message_filter(
829 new RenderMessageFilter( 829 new RenderMessageFilter(
830 GetID(), GetBrowserContext(), 830 GetID(), GetBrowserContext(), request_context.get(),
831 request_context.get(),
832 widget_helper_.get(), audio_manager, media_internals, 831 widget_helper_.get(), audio_manager, media_internals,
833 storage_partition_impl_->GetDOMStorageContext())); 832 storage_partition_impl_->GetDOMStorageContext(),
833 storage_partition_impl_->GetCacheStorageContext()));
834 AddFilter(render_message_filter.get()); 834 AddFilter(render_message_filter.get());
835 AddFilter(new RenderFrameMessageFilter( 835 AddFilter(new RenderFrameMessageFilter(
836 GetID(), 836 GetID(),
837 #if defined(ENABLE_PLUGINS) 837 #if defined(ENABLE_PLUGINS)
838 PluginServiceImpl::GetInstance(), 838 PluginServiceImpl::GetInstance(),
839 #else 839 #else
840 nullptr, 840 nullptr,
841 #endif 841 #endif
842 GetBrowserContext(), 842 GetBrowserContext(),
843 request_context.get(), 843 request_context.get(),
(...skipping 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after
2752 2752
2753 // Skip widgets in other processes. 2753 // Skip widgets in other processes.
2754 if (rvh->GetProcess()->GetID() != GetID()) 2754 if (rvh->GetProcess()->GetID() != GetID())
2755 continue; 2755 continue;
2756 2756
2757 rvh->OnWebkitPreferencesChanged(); 2757 rvh->OnWebkitPreferencesChanged();
2758 } 2758 }
2759 } 2759 }
2760 2760
2761 } // namespace content 2761 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698