summaryrefslogtreecommitdiffstats
path: root/base/nullable_string16.h
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-02 19:01:42 +0000
committerjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-02 19:01:42 +0000
commit9622ca5f54236d00bc8cf6ce9c545b366d8f92a2 (patch)
tree6facb51dfcd785dbd4dac757b7b2a68cbb0ac752 /base/nullable_string16.h
parent41b06b2da057ccd20255295026dc5509a1b4a7d9 (diff)
downloadchromium_src-9622ca5f54236d00bc8cf6ce9c545b366d8f92a2.zip
chromium_src-9622ca5f54236d00bc8cf6ce9c545b366d8f92a2.tar.gz
chromium_src-9622ca5f54236d00bc8cf6ce9c545b366d8f92a2.tar.bz2
Add support for fine grained permissions to use LocalStorage.
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
Diffstat (limited to 'base/nullable_string16.h')
-rw-r--r--base/nullable_string16.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/nullable_string16.h b/base/nullable_string16.h
index 6f69aa5..6f07183 100644
--- a/base/nullable_string16.h
+++ b/base/nullable_string16.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -13,6 +13,7 @@
class NullableString16 {
public:
NullableString16() : is_null_(false) { }
+ explicit NullableString16(bool is_null) : is_null_(is_null) { }
NullableString16(const string16& string, bool is_null)
: string_(string), is_null_(is_null) {
}