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

Unified Diff: webkit/common/dom_storage/dom_storage_map_unittest.cc

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 | « webkit/common/dom_storage/dom_storage_map.cc ('k') | webkit/common/dom_storage/dom_storage_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/dom_storage/dom_storage_map_unittest.cc
diff --git a/webkit/common/dom_storage/dom_storage_map_unittest.cc b/webkit/common/dom_storage/dom_storage_map_unittest.cc
index 232b5e6e802fc347d3f9bf395c9454e423eee1c9..d634bce977208a34a4b89bd495c9abe4446be138 100644
--- a/webkit/common/dom_storage/dom_storage_map_unittest.cc
+++ b/webkit/common/dom_storage/dom_storage_map_unittest.cc
@@ -23,7 +23,7 @@ TEST(DomStorageMapTest, DomStorageMapBasics) {
scoped_refptr<DomStorageMap> map(new DomStorageMap(kQuota));
base::string16 old_value;
- NullableString16 old_nullable_value;
+ base::NullableString16 old_nullable_value;
ValuesMap swap;
scoped_refptr<DomStorageMap> copy;
@@ -92,7 +92,7 @@ TEST(DomStorageMapTest, EnforcesQuota) {
const size_t kQuota = 50;
base::string16 old_value;
- NullableString16 old_nullable_value;
+ base::NullableString16 old_nullable_value;
scoped_refptr<DomStorageMap> map(new DomStorageMap(kQuota));
EXPECT_TRUE(map->SetItem(kKey, kValue, &old_nullable_value));
@@ -107,8 +107,8 @@ TEST(DomStorageMapTest, EnforcesQuota) {
// Verify that the SwapValues method does not do quota checking.
ValuesMap swap;
- swap[kKey] = NullableString16(kValue, false);
- swap[kKey2] = NullableString16(kValue, false);
+ swap[kKey] = base::NullableString16(kValue, false);
+ swap[kKey2] = base::NullableString16(kValue, false);
map->SwapValues(&swap);
EXPECT_GT(map->bytes_used(), kQuota);
« no previous file with comments | « webkit/common/dom_storage/dom_storage_map.cc ('k') | webkit/common/dom_storage/dom_storage_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698