Web Inspector: [Network] CookiesTable refactoring.
https://bugs.webkit.org/show_bug.cgi?id=107511

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2013-01-22
Reviewed by Pavel Feldman.

CookiesTable uses integer indexes as column identifiers.
This leads to cryptic code.

Descriptive column identifiers will make code clearer.
Also "addCookiesFolder" replaced with "setCookieFolders" to avoid
repetitive "_rebuildTable" invocation.

* inspector/front-end/CookiesTable.js:
(WebInspector.CookiesTable): Use descriptive column identifiers.
(WebInspector.CookiesTable.prototype.setCookieFolders):
Accept multiple folders.
(WebInspector.CookiesTable.prototype._rebuildTable):
Use descriptive column identifiers.
(WebInspector.CookiesTable.prototype._sortCookies):
Ditto.
(WebInspector.CookiesTable.prototype._createGridNode):
Ditto.
* inspector/front-end/RequestCookiesView.js:
(WebInspector.RequestCookiesView.prototype._buildCookiesTable):
Use "setCookieFolders".

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140408 268f45cc-cd09-0410-ab3c-d52691b4dbfc