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

Side by Side Diff: chrome/browser/nacl_host/nacl_process_host.h

Issue 10389229: NaCl: Remove duplicated logging for the process exit status (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | chrome/browser/nacl_host/nacl_process_host.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_
6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #elif defined(OS_LINUX) 72 #elif defined(OS_LINUX)
73 bool LaunchNaClGdb(base::ProcessId pid); 73 bool LaunchNaClGdb(base::ProcessId pid);
74 void OnNaClGdbAttached(); 74 void OnNaClGdbAttached();
75 #endif 75 #endif
76 // Get path to manifest on local disk if possible. 76 // Get path to manifest on local disk if possible.
77 FilePath GetManifestPath(); 77 FilePath GetManifestPath();
78 bool LaunchSelLdr(); 78 bool LaunchSelLdr();
79 79
80 // BrowserChildProcessHostDelegate implementation: 80 // BrowserChildProcessHostDelegate implementation:
81 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 81 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
82 virtual void OnProcessCrashed(int exit_code) OVERRIDE;
83 virtual void OnProcessLaunched() OVERRIDE; 82 virtual void OnProcessLaunched() OVERRIDE;
84 83
85 void OnResourcesReady(); 84 void OnResourcesReady();
86 85
87 // Sends the reply message to the renderer who is waiting for the plugin 86 // Sends the reply message to the renderer who is waiting for the plugin
88 // to load. Returns true on success. 87 // to load. Returns true on success.
89 bool ReplyToRenderer(); 88 bool ReplyToRenderer();
90 89
91 // Sends the message to the NaCl process to load the plugin. Returns true 90 // Sends the message to the NaCl process to load the plugin. Returns true
92 // on success. 91 // on success.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 base::WeakPtrFactory<NaClProcessHost> weak_factory_; 146 base::WeakPtrFactory<NaClProcessHost> weak_factory_;
148 147
149 scoped_ptr<content::BrowserChildProcessHost> process_; 148 scoped_ptr<content::BrowserChildProcessHost> process_;
150 149
151 bool enable_exception_handling_; 150 bool enable_exception_handling_;
152 151
153 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); 152 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
154 }; 153 };
155 154
156 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 155 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698