| 
        
       | 
      
        
  
  Fix thread usage in chromoting host
There are several things done in this patch:
1. Isloate thread start and stop to ChromotingHostContext
2. SessionManager now doesn't own capturer and encoder, ownership moved to ChromotingHost
3. Fix up the sequence of actions when ChromotingHost shuts down
TEST=remoting_unittests
BUG=none
Committed:  http://src.chromium.org/viewvc/chrome?view=rev&revision=51050
   
  
  
  
  
   
  
  
  
  
  
   
  
  
  
    
      Total comments: 16
      
     
  
  
  
   
  
  
  
  
  
   
  
  
  
    
      Total comments: 1
      
     
  
  
  
   
  
  
  
  
    
  
  
    
       | 
      Unified diffs | 
      Side-by-side diffs | 
      Delta from patch set | 
      Stats (+408 lines, -164 lines) | 
      Patch | 
     
    
      
          | 
        M | 
        
          
            remoting/host/chromoting_host.h
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
          4
        
         | 
        
          4 chunks | 
          +38 lines, -29 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            remoting/host/chromoting_host.cc
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
          4
        
         | 
        
          9 chunks | 
          +111 lines, -100 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        A | 
        
          
            remoting/host/chromoting_host_context.h
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          1 chunk | 
          +51 lines, -0 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        A | 
        
          
            remoting/host/chromoting_host_context.cc
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          1 chunk | 
          +56 lines, -0 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        A | 
        
          
            remoting/host/chromoting_host_context_unittest.cc
          
         | 
        
          
            View
          
         | 
        
        
          2
        
          3
        
         | 
        
          1 chunk | 
          +28 lines, -0 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            remoting/host/client_connection.h
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          1 chunk | 
          +4 lines, -1 line | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            remoting/host/client_connection.cc
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          5 chunks | 
          +21 lines, -6 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            remoting/host/client_connection_unittest.cc
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          4 chunks | 
          +27 lines, -4 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            remoting/host/encoder_verbatim.cc
          
         | 
        
          
            View
          
         | 
        
        
          3
        
          4
        
          5
        
         | 
        
          1 chunk | 
          +2 lines, -1 line | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            remoting/host/session_manager.h
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          4 chunks | 
          +9 lines, -1 line | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            remoting/host/session_manager.cc
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
         | 
        
          7 chunks | 
          +37 lines, -16 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            remoting/host/simple_host_process.cc
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
          4
        
         | 
        
          4 chunks | 
          +21 lines, -6 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            remoting/remoting.gyp
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
          4
        
          5
        
         | 
        
          2 chunks | 
          +3 lines, -0 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
   
  
  
 
  
   
  
    
  
  
  
    
    Total messages: 6 (0 generated)
     
  
  
       |