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

Side by Side Diff: chrome/browser/utility_process_host.cc

Issue 460119: Move the utility process messages to their own file now that we have more tha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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 | « no previous file | chrome/chrome.gyp » ('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) 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" 8 #include "app/l10n_util.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
13 #include "chrome/common/render_messages.h" 13 #include "chrome/common/utility_messages.h"
14 #include "ipc/ipc_switches.h" 14 #include "ipc/ipc_switches.h"
15 15
16 UtilityProcessHost::UtilityProcessHost(ResourceDispatcherHost* rdh, 16 UtilityProcessHost::UtilityProcessHost(ResourceDispatcherHost* rdh,
17 Client* client, 17 Client* client,
18 ChromeThread::ID client_thread_id) 18 ChromeThread::ID client_thread_id)
19 : ChildProcessHost(UTILITY_PROCESS, rdh), 19 : ChildProcessHost(UTILITY_PROCESS, rdh),
20 client_(client), 20 client_(client),
21 client_thread_id_(client_thread_id) { 21 client_thread_id_(client_thread_id) {
22 } 22 }
23 23
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 IPC_MESSAGE_HANDLER(UtilityHostMsg_UnpackWebResource_Succeeded, 139 IPC_MESSAGE_HANDLER(UtilityHostMsg_UnpackWebResource_Succeeded,
140 Client::OnUnpackWebResourceSucceeded) 140 Client::OnUnpackWebResourceSucceeded)
141 IPC_MESSAGE_HANDLER(UtilityHostMsg_UnpackWebResource_Failed, 141 IPC_MESSAGE_HANDLER(UtilityHostMsg_UnpackWebResource_Failed,
142 Client::OnUnpackWebResourceFailed) 142 Client::OnUnpackWebResourceFailed)
143 IPC_MESSAGE_HANDLER(UtilityHostMsg_ParseUpdateManifest_Succeeded, 143 IPC_MESSAGE_HANDLER(UtilityHostMsg_ParseUpdateManifest_Succeeded,
144 Client::OnParseUpdateManifestSucceeded) 144 Client::OnParseUpdateManifestSucceeded)
145 IPC_MESSAGE_HANDLER(UtilityHostMsg_ParseUpdateManifest_Failed, 145 IPC_MESSAGE_HANDLER(UtilityHostMsg_ParseUpdateManifest_Failed,
146 Client::OnParseUpdateManifestFailed) 146 Client::OnParseUpdateManifestFailed)
147 IPC_END_MESSAGE_MAP_EX() 147 IPC_END_MESSAGE_MAP_EX()
148 } 148 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698