summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-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) {
}