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

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

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 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>
11 #include <limits> 11 #include <limits>
12 #include <vector> 12 #include <vector>
13 13
14 #if defined(OS_POSIX) 14 #if defined(OS_POSIX)
15 #include <utility> // for pair<> 15 #include <utility> // for pair<>
16 #endif 16 #endif
17 17
18 #include "app/app_switches.h" 18 #include "app/app_switches.h"
19 #include "base/callback.h" 19 #include "base/callback.h"
20 #include "base/command_line.h" 20 #include "base/command_line.h"
21 #include "base/logging.h" 21 #include "base/logging.h"
22 #include "base/metrics/field_trial.h" 22 #include "base/metrics/field_trial.h"
23 #include "base/metrics/histogram.h" 23 #include "base/metrics/histogram.h"
24 #include "base/path_service.h" 24 #include "base/path_service.h"
25 #include "base/platform_file.h" 25 #include "base/platform_file.h"
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/thread.h" 28 #include "base/threading/thread.h"
29 #include "base/thread_restrictions.h" 29 #include "base/threading/thread_restrictions.h"
30 #include "chrome/browser/appcache/appcache_dispatcher_host.h" 30 #include "chrome/browser/appcache/appcache_dispatcher_host.h"
31 #include "chrome/browser/browser_child_process_host.h" 31 #include "chrome/browser/browser_child_process_host.h"
32 #include "chrome/browser/browser_process.h" 32 #include "chrome/browser/browser_process.h"
33 #include "chrome/browser/child_process_security_policy.h" 33 #include "chrome/browser/child_process_security_policy.h"
34 #include "chrome/browser/device_orientation/message_filter.h" 34 #include "chrome/browser/device_orientation/message_filter.h"
35 #include "chrome/browser/extensions/extension_event_router.h" 35 #include "chrome/browser/extensions/extension_event_router.h"
36 #include "chrome/browser/extensions/extension_function_dispatcher.h" 36 #include "chrome/browser/extensions/extension_function_dispatcher.h"
37 #include "chrome/browser/extensions/extension_message_service.h" 37 #include "chrome/browser/extensions/extension_message_service.h"
38 #include "chrome/browser/extensions/extension_service.h" 38 #include "chrome/browser/extensions/extension_service.h"
39 #include "chrome/browser/extensions/user_script_master.h" 39 #include "chrome/browser/extensions/user_script_master.h"
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 IPC::PlatformFileForTransit file; 1305 IPC::PlatformFileForTransit file;
1306 #if defined(OS_POSIX) 1306 #if defined(OS_POSIX)
1307 file = base::FileDescriptor(model_file, false); 1307 file = base::FileDescriptor(model_file, false);
1308 #elif defined(OS_WIN) 1308 #elif defined(OS_WIN)
1309 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1309 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1310 false, DUPLICATE_SAME_ACCESS); 1310 false, DUPLICATE_SAME_ACCESS);
1311 #endif 1311 #endif
1312 Send(new ViewMsg_SetPhishingModel(file)); 1312 Send(new ViewMsg_SetPhishingModel(file));
1313 } 1313 }
1314 } 1314 }
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton_uitest.cc ('k') | chrome/browser/renderer_host/database_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698