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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 5744005: Revert rev 69137 due to incorrect change log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/browser_render_process_host.h" 8 #include "chrome/browser/renderer_host/browser_render_process_host.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 19 matching lines...) Expand all
30 #include "chrome/browser/browser_child_process_host.h" 30 #include "chrome/browser/browser_child_process_host.h"
31 #include "chrome/browser/browser_process.h" 31 #include "chrome/browser/browser_process.h"
32 #include "chrome/browser/child_process_security_policy.h" 32 #include "chrome/browser/child_process_security_policy.h"
33 #include "chrome/browser/device_orientation/message_filter.h" 33 #include "chrome/browser/device_orientation/message_filter.h"
34 #include "chrome/browser/extensions/extension_event_router.h" 34 #include "chrome/browser/extensions/extension_event_router.h"
35 #include "chrome/browser/extensions/extension_function_dispatcher.h" 35 #include "chrome/browser/extensions/extension_function_dispatcher.h"
36 #include "chrome/browser/extensions/extension_message_service.h" 36 #include "chrome/browser/extensions/extension_message_service.h"
37 #include "chrome/browser/extensions/extension_service.h" 37 #include "chrome/browser/extensions/extension_service.h"
38 #include "chrome/browser/extensions/user_script_master.h" 38 #include "chrome/browser/extensions/user_script_master.h"
39 #include "chrome/browser/file_system/file_system_dispatcher_host.h" 39 #include "chrome/browser/file_system/file_system_dispatcher_host.h"
40 #include "chrome/browser/geolocation/geolocation_dispatcher_host.h"
41 #include "chrome/browser/gpu_process_host.h" 40 #include "chrome/browser/gpu_process_host.h"
42 #include "chrome/browser/history/history.h" 41 #include "chrome/browser/history/history.h"
43 #include "chrome/browser/in_process_webkit/dom_storage_message_filter.h" 42 #include "chrome/browser/in_process_webkit/dom_storage_message_filter.h"
44 #include "chrome/browser/in_process_webkit/indexed_db_dispatcher_host.h" 43 #include "chrome/browser/in_process_webkit/indexed_db_dispatcher_host.h"
45 #include "chrome/browser/io_thread.h" 44 #include "chrome/browser/io_thread.h"
46 #include "chrome/browser/mime_registry_message_filter.h" 45 #include "chrome/browser/mime_registry_message_filter.h"
47 #include "chrome/browser/platform_util.h" 46 #include "chrome/browser/platform_util.h"
48 #include "chrome/browser/plugin_service.h" 47 #include "chrome/browser/plugin_service.h"
49 #include "chrome/browser/profiles/profile.h" 48 #include "chrome/browser/profiles/profile.h"
50 #include "chrome/browser/renderer_host/audio_renderer_host.h" 49 #include "chrome/browser/renderer_host/audio_renderer_host.h"
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 g_browser_process->print_job_manager(), 393 g_browser_process->print_job_manager(),
395 profile(), 394 profile(),
396 widget_helper_)); 395 widget_helper_));
397 channel_->AddFilter(render_message_filter); 396 channel_->AddFilter(render_message_filter);
398 397
399 channel_->AddFilter(new AudioRendererHost()); 398 channel_->AddFilter(new AudioRendererHost());
400 channel_->AddFilter( 399 channel_->AddFilter(
401 new AppCacheDispatcherHost(profile()->GetRequestContext(), id())); 400 new AppCacheDispatcherHost(profile()->GetRequestContext(), id()));
402 channel_->AddFilter(new DOMStorageMessageFilter(id(), profile())); 401 channel_->AddFilter(new DOMStorageMessageFilter(id(), profile()));
403 channel_->AddFilter(new IndexedDBDispatcherHost(id(), profile())); 402 channel_->AddFilter(new IndexedDBDispatcherHost(id(), profile()));
404 channel_->AddFilter(
405 GeolocationDispatcherHost::New(
406 id(), profile()->GetGeolocationPermissionContext()));
407 channel_->AddFilter(new PepperFileMessageFilter(id(), profile())); 403 channel_->AddFilter(new PepperFileMessageFilter(id(), profile()));
408 channel_->AddFilter(new speech_input::SpeechInputDispatcherHost(id())); 404 channel_->AddFilter(new speech_input::SpeechInputDispatcherHost(id()));
409 channel_->AddFilter( 405 channel_->AddFilter(
410 new SearchProviderInstallStateMessageFilter(id(), profile())); 406 new SearchProviderInstallStateMessageFilter(id(), profile()));
411 channel_->AddFilter(new FileSystemDispatcherHost(profile())); 407 channel_->AddFilter(new FileSystemDispatcherHost(profile()));
412 channel_->AddFilter(new device_orientation::MessageFilter()); 408 channel_->AddFilter(new device_orientation::MessageFilter());
413 channel_->AddFilter( 409 channel_->AddFilter(
414 new BlobMessageFilter(id(), profile()->GetBlobStorageContext())); 410 new BlobMessageFilter(id(), profile()->GetBlobStorageContext()));
415 channel_->AddFilter(new FileUtilitiesMessageFilter(id())); 411 channel_->AddFilter(new FileUtilitiesMessageFilter(id()));
416 channel_->AddFilter(new MimeRegistryMessageFilter()); 412 channel_->AddFilter(new MimeRegistryMessageFilter());
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 IPC::PlatformFileForTransit file; 1242 IPC::PlatformFileForTransit file;
1247 #if defined(OS_POSIX) 1243 #if defined(OS_POSIX)
1248 file = base::FileDescriptor(model_file, false); 1244 file = base::FileDescriptor(model_file, false);
1249 #elif defined(OS_WIN) 1245 #elif defined(OS_WIN)
1250 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1246 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1251 false, DUPLICATE_SAME_ACCESS); 1247 false, DUPLICATE_SAME_ACCESS);
1252 #endif 1248 #endif
1253 Send(new ViewMsg_SetPhishingModel(file)); 1249 Send(new ViewMsg_SetPhishingModel(file));
1254 } 1250 }
1255 } 1251 }
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/mock_location_provider.cc ('k') | chrome/browser/renderer_host/render_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698