chrome.experimental.processes
      
        
        
        
        
        
          For information on how to use experimental APIs, see the chrome.experimental.* APIs page.
        
        
        
        
        
        
        API reference: chrome.experimental.processes
          
          
            
            Properties
            
              
              getLastError
              
                
                chrome.extensionlastError
              
              
              
             
            
          
          
            
            Methods
            
            
               
              getProcessIdForTab
              void
                  
                  chrome.experimental.processes.getProcessIdForTab(, integer
                      tabId, function
                      callback)
              
                Undocumented.
                Returns the ID of the renderer process for the specified tab.
                
                Parameters
                
                  
                    
          - 
            tabId
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        integer
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - 
            Description of this parameter from the json schema.
          
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                   
                    
          - 
            callback
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        function
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - 
            Description of this parameter from the json schema.
          
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                   
                
                
                Returns
                
                  
                
                
                
                  
                  Callback function
                  
                    The callback parameter should specify a function
                    that looks like this:
                  
                  
                    If you specify the callback parameter, it should
                    specify a function that looks like this:
                  
                  
                  function(integer processId) {...};
                  
                    
                      
          - 
            processId
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        integer
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - Process ID of the tab's renderer process.
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                     
                  
                   
                 
                
                
                  This function was added in version .
                  If you require this function, the manifest key
                  minimum_chrome_version
                  can ensure that your extension won't be run in an earlier browser version.
                
                
               
             
          
          
            
            Events
            
            
              
              onUpdated
              
                
                chrome.experimental.processes.onUpdated.addListener(function(object processes) {...});
              
              
                Undocumented.
                Fires each time the Task Manager updates its process statistics, providing the dictionary of updated Process objects, indexed by process ID.
                
                
                  Parameters
                  
                    
                      
          - 
            processes
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        object
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - 
            Description of this parameter from the json schema.
          
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                     
                  
                 
                
              
            
          
          
            
            Types
            
            
              
              Process
              
          
            paramName
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        object
                        
                      
                    
                  )
                
 
              
          
          
            Undocumented.
          
          An object containing information about one of the browser's processes.
          
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
          
          
            
              
                
          - 
            id
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        integer
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - The ID of the process, as provided by the OS.
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
               
                
          - 
            type
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        string
                        ["browser", "renderer", "extension", "notification", "plugin", "worker", "nacl", "utility", "gpu", "other"]
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - The type of process.
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
               
                
          - 
            cpu
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        number
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - The most recent measurement of the process's CPU usage, between 0 and 100%.
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
               
                
          - 
            network
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        number
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - The most recent measurement of the process's network usage, in bytes per second.
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
               
                
          - 
            privateMemory
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        number
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - The most recent measurement of the process's private memory usage, in bytes.
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
               
                
          - 
            sharedMemory
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        number
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - The most recent measurement of the process's shared memory usage, in bytes.
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          -