Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4117)

Unified Diff: base/nullable_string16.h

Issue 16415016: Move nullable_string16.h to the string subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/strings/nullable_string16.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/nullable_string16.h
diff --git a/base/nullable_string16.h b/base/nullable_string16.h
index dbcd37c8470ad74758e4d216e07a34b618f05993..3adae7a4ef1c46cfd7c8519e904fd992c61c778d 100644
--- a/base/nullable_string16.h
+++ b/base/nullable_string16.h
@@ -2,28 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_NULLABLE_STRING16_H_
-#define BASE_NULLABLE_STRING16_H_
-
-#include "base/strings/string16.h"
-
-// This class is a simple wrapper for string16 which also contains a null
-// state. This should be used only where the difference between null and
-// empty is meaningful.
-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) {
- }
-
- const string16& string() const { return string_; }
- bool is_null() const { return is_null_; }
-
- private:
- string16 string_;
- bool is_null_;
-};
-
-#endif // BASE_NULLABLE_STRING16_H_
+// This file has moved, please use the new location.
+// TODO(avi) remove this file when all users have been updated.
+#include "base/strings/nullable_string16.h"
« no previous file with comments | « no previous file | base/strings/nullable_string16.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698