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

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

Issue 6597044: Revert 76228 - Move core pieces of geolocation from chrome to content.This is... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 15 matching lines...) Expand all
26 #include "base/stl_util-inl.h" 26 #include "base/stl_util-inl.h"
27 #include "base/string_util.h" 27 #include "base/string_util.h"
28 #include "base/threading/thread.h" 28 #include "base/threading/thread.h"
29 #include "base/threading/thread_restrictions.h" 29 #include "base/threading/thread_restrictions.h"
30 #include "chrome/browser/browser_process.h" 30 #include "chrome/browser/browser_process.h"
31 #include "chrome/browser/extensions/extension_event_router.h" 31 #include "chrome/browser/extensions/extension_event_router.h"
32 #include "chrome/browser/extensions/extension_function_dispatcher.h" 32 #include "chrome/browser/extensions/extension_function_dispatcher.h"
33 #include "chrome/browser/extensions/extension_message_service.h" 33 #include "chrome/browser/extensions/extension_message_service.h"
34 #include "chrome/browser/extensions/extension_service.h" 34 #include "chrome/browser/extensions/extension_service.h"
35 #include "chrome/browser/extensions/user_script_master.h" 35 #include "chrome/browser/extensions/user_script_master.h"
36 #include "chrome/browser/geolocation/geolocation_dispatcher_host.h"
36 #include "chrome/browser/history/history.h" 37 #include "chrome/browser/history/history.h"
37 #include "chrome/browser/io_thread.h" 38 #include "chrome/browser/io_thread.h"
38 #include "chrome/browser/metrics/user_metrics.h" 39 #include "chrome/browser/metrics/user_metrics.h"
39 #include "chrome/browser/platform_util.h" 40 #include "chrome/browser/platform_util.h"
40 #include "chrome/browser/printing/printing_message_filter.h" 41 #include "chrome/browser/printing/printing_message_filter.h"
41 #include "chrome/browser/profiles/profile.h" 42 #include "chrome/browser/profiles/profile.h"
42 #include "chrome/browser/renderer_host/web_cache_manager.h" 43 #include "chrome/browser/renderer_host/web_cache_manager.h"
43 #include "chrome/browser/safe_browsing/client_side_detection_service.h" 44 #include "chrome/browser/safe_browsing/client_side_detection_service.h"
44 #include "chrome/browser/search_engines/search_provider_install_state_message_fi lter.h" 45 #include "chrome/browser/search_engines/search_provider_install_state_message_fi lter.h"
45 #include "chrome/browser/spellcheck_host.h" 46 #include "chrome/browser/spellcheck_host.h"
(...skipping 14 matching lines...) Expand all
60 #include "chrome/common/process_watcher.h" 61 #include "chrome/common/process_watcher.h"
61 #include "chrome/common/render_messages.h" 62 #include "chrome/common/render_messages.h"
62 #include "chrome/common/render_messages_params.h" 63 #include "chrome/common/render_messages_params.h"
63 #include "chrome/common/result_codes.h" 64 #include "chrome/common/result_codes.h"
64 #include "chrome/renderer/render_process_impl.h" 65 #include "chrome/renderer/render_process_impl.h"
65 #include "chrome/renderer/render_thread.h" 66 #include "chrome/renderer/render_thread.h"
66 #include "content/browser/appcache/appcache_dispatcher_host.h" 67 #include "content/browser/appcache/appcache_dispatcher_host.h"
67 #include "content/browser/browser_child_process_host.h" 68 #include "content/browser/browser_child_process_host.h"
68 #include "content/browser/child_process_security_policy.h" 69 #include "content/browser/child_process_security_policy.h"
69 #include "content/browser/device_orientation/message_filter.h" 70 #include "content/browser/device_orientation/message_filter.h"
70 #include "content/browser/geolocation/geolocation_dispatcher_host.h"
71 #include "content/browser/gpu_process_host.h" 71 #include "content/browser/gpu_process_host.h"
72 #include "content/browser/in_process_webkit/dom_storage_message_filter.h" 72 #include "content/browser/in_process_webkit/dom_storage_message_filter.h"
73 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" 73 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h"
74 #include "content/browser/file_system/file_system_dispatcher_host.h" 74 #include "content/browser/file_system/file_system_dispatcher_host.h"
75 #include "content/browser/mime_registry_message_filter.h" 75 #include "content/browser/mime_registry_message_filter.h"
76 #include "content/browser/plugin_service.h" 76 #include "content/browser/plugin_service.h"
77 #include "content/browser/renderer_host/audio_renderer_host.h" 77 #include "content/browser/renderer_host/audio_renderer_host.h"
78 #include "content/browser/renderer_host/blob_message_filter.h" 78 #include "content/browser/renderer_host/blob_message_filter.h"
79 #include "content/browser/renderer_host/database_message_filter.h" 79 #include "content/browser/renderer_host/database_message_filter.h"
80 #include "content/browser/renderer_host/file_utilities_message_filter.h" 80 #include "content/browser/renderer_host/file_utilities_message_filter.h"
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 IPC::PlatformFileForTransit file; 1282 IPC::PlatformFileForTransit file;
1283 #if defined(OS_POSIX) 1283 #if defined(OS_POSIX)
1284 file = base::FileDescriptor(model_file, false); 1284 file = base::FileDescriptor(model_file, false);
1285 #elif defined(OS_WIN) 1285 #elif defined(OS_WIN)
1286 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1286 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1287 false, DUPLICATE_SAME_ACCESS); 1287 false, DUPLICATE_SAME_ACCESS);
1288 #endif 1288 #endif
1289 Send(new ViewMsg_SetPhishingModel(file)); 1289 Send(new ViewMsg_SetPhishingModel(file));
1290 } 1290 }
1291 } 1291 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698