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

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

Issue 1994013002: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to reflect recent change to Mac code 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 AddFilter(new FileAPIMessageFilter( 911 AddFilter(new FileAPIMessageFilter(
912 GetID(), storage_partition_impl_->GetURLRequestContext(), 912 GetID(), storage_partition_impl_->GetURLRequestContext(),
913 storage_partition_impl_->GetFileSystemContext(), 913 storage_partition_impl_->GetFileSystemContext(),
914 blob_storage_context.get(), StreamContext::GetFor(browser_context))); 914 blob_storage_context.get(), StreamContext::GetFor(browser_context)));
915 AddFilter(new BlobDispatcherHost(blob_storage_context.get())); 915 AddFilter(new BlobDispatcherHost(blob_storage_context.get()));
916 AddFilter(new FileUtilitiesMessageFilter(GetID())); 916 AddFilter(new FileUtilitiesMessageFilter(GetID()));
917 AddFilter(new MimeRegistryMessageFilter()); 917 AddFilter(new MimeRegistryMessageFilter());
918 AddFilter( 918 AddFilter(
919 new DatabaseMessageFilter(storage_partition_impl_->GetDatabaseTracker())); 919 new DatabaseMessageFilter(storage_partition_impl_->GetDatabaseTracker()));
920 #if defined(OS_MACOSX) 920 #if defined(OS_MACOSX)
921 AddFilter(new TextInputClientMessageFilter(GetID())); 921 AddFilter(new TextInputClientMessageFilter());
922 #elif defined(OS_WIN) 922 #elif defined(OS_WIN)
923 AddFilter(new DWriteFontProxyMessageFilter()); 923 AddFilter(new DWriteFontProxyMessageFilter());
924 924
925 // The FontCacheDispatcher is required only when we're using GDI rendering. 925 // The FontCacheDispatcher is required only when we're using GDI rendering.
926 // TODO(scottmg): pdf/ppapi still require the renderer to be able to precache 926 // TODO(scottmg): pdf/ppapi still require the renderer to be able to precache
927 // GDI fonts (http://crbug.com/383227), even when using DirectWrite. This 927 // GDI fonts (http://crbug.com/383227), even when using DirectWrite. This
928 // should eventually be if (!ShouldUseDirectWrite()) guarded. 928 // should eventually be if (!ShouldUseDirectWrite()) guarded.
929 channel_->AddFilter(new FontCacheDispatcher()); 929 channel_->AddFilter(new FontCacheDispatcher());
930 #elif defined(OS_ANDROID) 930 #elif defined(OS_ANDROID)
931 browser_demuxer_android_ = new BrowserDemuxerAndroid(); 931 browser_demuxer_android_ = new BrowserDemuxerAndroid();
(...skipping 1830 matching lines...) Expand 10 before | Expand all | Expand 10 after
2762 2762
2763 // Skip widgets in other processes. 2763 // Skip widgets in other processes.
2764 if (rvh->GetProcess()->GetID() != GetID()) 2764 if (rvh->GetProcess()->GetID() != GetID())
2765 continue; 2765 continue;
2766 2766
2767 rvh->OnWebkitPreferencesChanged(); 2767 rvh->OnWebkitPreferencesChanged();
2768 } 2768 }
2769 } 2769 }
2770 2770
2771 } // namespace content 2771 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698