OLD | NEW |
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/command_line.h" | 19 #include "base/command_line.h" |
20 #include "base/field_trial.h" | 20 #include "base/field_trial.h" |
| 21 #include "base/histogram.h" |
21 #include "base/logging.h" | 22 #include "base/logging.h" |
22 #include "base/stl_util-inl.h" | 23 #include "base/stl_util-inl.h" |
23 #include "base/string_util.h" | 24 #include "base/string_util.h" |
24 #include "base/thread.h" | 25 #include "base/thread.h" |
25 #include "chrome/browser/browser_child_process_host.h" | 26 #include "chrome/browser/browser_child_process_host.h" |
26 #include "chrome/browser/browser_process.h" | 27 #include "chrome/browser/browser_process.h" |
27 #include "chrome/browser/child_process_security_policy.h" | 28 #include "chrome/browser/child_process_security_policy.h" |
28 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 29 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
29 #include "chrome/browser/extensions/extension_message_service.h" | 30 #include "chrome/browser/extensions/extension_message_service.h" |
30 #include "chrome/browser/extensions/extensions_service.h" | 31 #include "chrome/browser/extensions/extensions_service.h" |
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1070 IPC::InvalidPlatformFileForTransit(), | 1071 IPC::InvalidPlatformFileForTransit(), |
1071 std::vector<std::string>(), | 1072 std::vector<std::string>(), |
1072 std::string(), | 1073 std::string(), |
1073 false)); | 1074 false)); |
1074 } | 1075 } |
1075 } | 1076 } |
1076 | 1077 |
1077 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1078 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
1078 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1079 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
1079 } | 1080 } |
OLD | NEW |