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

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

Issue 6591034: Move core pieces of geolocation from chrome to content.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix Linux build 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
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"
37 #include "chrome/browser/history/history.h" 36 #include "chrome/browser/history/history.h"
38 #include "chrome/browser/io_thread.h" 37 #include "chrome/browser/io_thread.h"
39 #include "chrome/browser/metrics/user_metrics.h" 38 #include "chrome/browser/metrics/user_metrics.h"
40 #include "chrome/browser/platform_util.h" 39 #include "chrome/browser/platform_util.h"
41 #include "chrome/browser/profiles/profile.h" 40 #include "chrome/browser/profiles/profile.h"
42 #include "chrome/browser/renderer_host/web_cache_manager.h" 41 #include "chrome/browser/renderer_host/web_cache_manager.h"
43 #include "chrome/browser/safe_browsing/client_side_detection_service.h" 42 #include "chrome/browser/safe_browsing/client_side_detection_service.h"
44 #include "chrome/browser/search_engines/search_provider_install_state_message_fi lter.h" 43 #include "chrome/browser/search_engines/search_provider_install_state_message_fi lter.h"
45 #include "chrome/browser/spellcheck_host.h" 44 #include "chrome/browser/spellcheck_host.h"
46 #include "chrome/browser/spellcheck_message_filter.h" 45 #include "chrome/browser/spellcheck_message_filter.h"
(...skipping 13 matching lines...) Expand all
60 #include "chrome/common/process_watcher.h" 59 #include "chrome/common/process_watcher.h"
61 #include "chrome/common/render_messages.h" 60 #include "chrome/common/render_messages.h"
62 #include "chrome/common/render_messages_params.h" 61 #include "chrome/common/render_messages_params.h"
63 #include "chrome/common/result_codes.h" 62 #include "chrome/common/result_codes.h"
64 #include "chrome/renderer/render_process_impl.h" 63 #include "chrome/renderer/render_process_impl.h"
65 #include "chrome/renderer/render_thread.h" 64 #include "chrome/renderer/render_thread.h"
66 #include "content/browser/appcache/appcache_dispatcher_host.h" 65 #include "content/browser/appcache/appcache_dispatcher_host.h"
67 #include "content/browser/browser_child_process_host.h" 66 #include "content/browser/browser_child_process_host.h"
68 #include "content/browser/child_process_security_policy.h" 67 #include "content/browser/child_process_security_policy.h"
69 #include "content/browser/device_orientation/message_filter.h" 68 #include "content/browser/device_orientation/message_filter.h"
69 #include "content/browser/geolocation/geolocation_dispatcher_host.h"
70 #include "content/browser/gpu_process_host.h" 70 #include "content/browser/gpu_process_host.h"
71 #include "content/browser/in_process_webkit/dom_storage_message_filter.h" 71 #include "content/browser/in_process_webkit/dom_storage_message_filter.h"
72 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" 72 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h"
73 #include "content/browser/file_system/file_system_dispatcher_host.h" 73 #include "content/browser/file_system/file_system_dispatcher_host.h"
74 #include "content/browser/mime_registry_message_filter.h" 74 #include "content/browser/mime_registry_message_filter.h"
75 #include "content/browser/plugin_service.h" 75 #include "content/browser/plugin_service.h"
76 #include "content/browser/renderer_host/audio_renderer_host.h" 76 #include "content/browser/renderer_host/audio_renderer_host.h"
77 #include "content/browser/renderer_host/blob_message_filter.h" 77 #include "content/browser/renderer_host/blob_message_filter.h"
78 #include "content/browser/renderer_host/database_message_filter.h" 78 #include "content/browser/renderer_host/database_message_filter.h"
79 #include "content/browser/renderer_host/file_utilities_message_filter.h" 79 #include "content/browser/renderer_host/file_utilities_message_filter.h"
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1280 IPC::PlatformFileForTransit file; 1280 IPC::PlatformFileForTransit file;
1281 #if defined(OS_POSIX) 1281 #if defined(OS_POSIX)
1282 file = base::FileDescriptor(model_file, false); 1282 file = base::FileDescriptor(model_file, false);
1283 #elif defined(OS_WIN) 1283 #elif defined(OS_WIN)
1284 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1284 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1285 false, DUPLICATE_SAME_ACCESS); 1285 false, DUPLICATE_SAME_ACCESS);
1286 #endif 1286 #endif
1287 Send(new ViewMsg_SetPhishingModel(file)); 1287 Send(new ViewMsg_SetPhishingModel(file));
1288 } 1288 }
1289 } 1289 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698