Now that Resource.setContent is not used outside of Resource.js we can make it private. Resource._setContent can now delegate to UISourceCodes which would take care of domain specific actions. DebuggerResourceBinding can be removed and DebuggerResourceBinding.setScriptSource should moved to JavaScriptSource. ResourceDomainModelBinding could be removed as well.
Created attachment 150740 [details] Patch
Committed r121850: <http://trac.webkit.org/changeset/121850>