| Index: chrome/browser/nacl_host/nacl_browser.cc | 
| =================================================================== | 
| --- chrome/browser/nacl_host/nacl_browser.cc	(revision 163266) | 
| +++ chrome/browser/nacl_host/nacl_browser.cc	(working copy) | 
| @@ -258,6 +258,25 @@ | 
| } | 
| } | 
|  | 
| +void NaClBrowser::DebugStubNewPortAllocated(int port) { | 
| +  content::BrowserThread::PostTask( | 
| +      content::BrowserThread::IO, | 
| +      FROM_HERE, | 
| +      base::Bind(debug_stub_port_listener_, port)); | 
| +} | 
| + | 
| +bool NaClBrowser::HasDebugStubPortListener() { | 
| +  return !debug_stub_port_listener_.is_null(); | 
| +} | 
| + | 
| +void NaClBrowser::SetDebugStubPortListener(base::Callback<void(int)> listener) { | 
| +  debug_stub_port_listener_ = listener; | 
| +} | 
| + | 
| +void NaClBrowser::ClearDebugStubPortListener() { | 
| +  debug_stub_port_listener_.Reset(); | 
| +} | 
| + | 
| void NaClBrowser::InitValidationCacheFilePath() { | 
| // Determine where the validation cache resides in the file system.  It | 
| // exists in Chrome's cache directory and is not tied to any specific | 
|  |