src/chrome/browser/media_galleries/media_file_system_registry.cc
// |no_references_callback| is called when the last RenderViewHost reference
// goes away. RenderViewHost references are added through ReferenceFromRVH().
|no_references_callback| is called when the last RenderViewHost reference
goes away.
|no_references_callback| is called when the last RenderViewHost reference goes away .
ExtensionGalleriesHost(MediaFileSystemContext* file_system_context,
                         const base::Closure& no_references_callback)
      : file_system_context_(file_system_context),
        no_references_callback_(no_references_callback),
        rph_refs_(base::Bind(&ExtensionGalleriesHost::CleanUp,
                             base::Unretained(this))) {
  }
ExtensionGalleriesHost ( MediaFileSystemContext * file_system_context , const base :: Closure & no_references_callback ) : file_system_context_ ( file_system_context ) , no_references_callback_ ( no_references_callback ) , rph_refs_ ( base :: Bind ( & ExtensionGalleriesHost :: CleanUp , base :: Unretained ( this ) ) ) { }
|no_references_callback| is called when the last RenderViewHost reference
goes away.
|no_references_callback| is called when the last RenderViewHost reference goes away .