Add a nullable string16 class to base.  It combines a string16 + a null param
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


CrOS-Libchrome-Original-Commit: 15bf871f530cc5527db8a077e41dea8ea51bf31f
3 files changed
tree: c97d9297c0de14d100a3cd006bbcd897ba4184f5
  1. base/
  2. build/
  3. ipc/
  4. testing/