OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/browser/utility_process_host.h" | 5 #include "chrome/browser/utility_process_host.h" |
6 | 6 |
7 #include "app/app_switches.h" | 7 #include "app/app_switches.h" |
8 #include "app/l10n_util.h" | |
9 #include "base/command_line.h" | 8 #include "base/command_line.h" |
10 #include "base/file_util.h" | 9 #include "base/file_util.h" |
11 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
12 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
13 #include "chrome/common/chrome_switches.h" | 12 #include "chrome/common/chrome_switches.h" |
14 #include "chrome/common/utility_messages.h" | 13 #include "chrome/common/utility_messages.h" |
15 #include "ipc/ipc_switches.h" | 14 #include "ipc/ipc_switches.h" |
16 | 15 |
17 UtilityProcessHost::UtilityProcessHost(ResourceDispatcherHost* rdh, | 16 UtilityProcessHost::UtilityProcessHost(ResourceDispatcherHost* rdh, |
18 Client* client, | 17 Client* client, |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 IPC_MESSAGE_HANDLER(UtilityHostMsg_ParseUpdateManifest_Succeeded, | 156 IPC_MESSAGE_HANDLER(UtilityHostMsg_ParseUpdateManifest_Succeeded, |
158 Client::OnParseUpdateManifestSucceeded) | 157 Client::OnParseUpdateManifestSucceeded) |
159 IPC_MESSAGE_HANDLER(UtilityHostMsg_ParseUpdateManifest_Failed, | 158 IPC_MESSAGE_HANDLER(UtilityHostMsg_ParseUpdateManifest_Failed, |
160 Client::OnParseUpdateManifestFailed) | 159 Client::OnParseUpdateManifestFailed) |
161 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Succeeded, | 160 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Succeeded, |
162 Client::OnDecodeImageSucceeded) | 161 Client::OnDecodeImageSucceeded) |
163 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Failed, | 162 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Failed, |
164 Client::OnDecodeImageFailed) | 163 Client::OnDecodeImageFailed) |
165 IPC_END_MESSAGE_MAP_EX() | 164 IPC_END_MESSAGE_MAP_EX() |
166 } | 165 } |
OLD | NEW |