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

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

Issue 115595: Have the browser process rewrite manifest.json and theme images that the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « chrome/browser/utility_process_host.h ('k') | chrome/common/extensions/extension_unpacker.h » ('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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool did_crash = base::DidProcessCrash(&child_exited, handle()); 74 bool did_crash = base::DidProcessCrash(&child_exited, handle());
75 if (did_crash) { 75 if (did_crash) {
76 client_loop_->PostTask(FROM_HERE, 76 client_loop_->PostTask(FROM_HERE,
77 NewRunnableMethod(client_.get(), &Client::OnProcessCrashed)); 77 NewRunnableMethod(client_.get(), &Client::OnProcessCrashed));
78 } 78 }
79 } 79 }
80 80
81 void UtilityProcessHost::Client::OnMessageReceived( 81 void UtilityProcessHost::Client::OnMessageReceived(
82 const IPC::Message& message) { 82 const IPC::Message& message) {
83 IPC_BEGIN_MESSAGE_MAP(UtilityProcessHost, message) 83 IPC_BEGIN_MESSAGE_MAP(UtilityProcessHost, message)
84 IPC_MESSAGE_HANDLER(UtilityHostMsg_UnpackExtension_Reply, 84 IPC_MESSAGE_HANDLER(UtilityHostMsg_UnpackExtension_Succeeded,
85 Client::OnUnpackExtensionReply) 85 Client::OnUnpackExtensionSucceeded)
86 IPC_MESSAGE_HANDLER(UtilityHostMsg_UnpackExtension_Failed,
87 Client::OnUnpackExtensionFailed)
86 IPC_END_MESSAGE_MAP_EX() 88 IPC_END_MESSAGE_MAP_EX()
87 } 89 }
OLDNEW
« no previous file with comments | « chrome/browser/utility_process_host.h ('k') | chrome/common/extensions/extension_unpacker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698