summaryrefslogtreecommitdiffstats
path: root/base/nullable_string16.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for fine grained permissions to use LocalStorage.jorlow@chromium.org2010-02-021-1/+2
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/565004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37856 0039d316-1c4b-4281-b951-d872f2087c98
* Add a nullable string16 class to base. It combines a string16 + a null paramjorlow@chromium.org2009-08-271-0/+28
in order to cover all the possible states of a WebKit string. For strings where the null state is not meaninfully different from the empty state, this class should NOT be used. There are, however, some cases where we do need to track null. LocalStorage is an example. This class should be a fairly light weight way to do so. This change also adds implicit conversion to and from WebStrings. This also switches LocalStorage's IPCs over to using this new class. BUG=17343 TEST=none Review URL: http://codereview.chromium.org/174484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24574 0039d316-1c4b-4281-b951-d872f2087c98