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

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

Issue 113403006: Update some uses of char16 to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « content/common/dom_storage/dom_storage_map.cc ('k') | content/common/indexed_db/indexed_db_key_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/dom_storage/dom_storage_map_unittest.cc
diff --git a/content/common/dom_storage/dom_storage_map_unittest.cc b/content/common/dom_storage/dom_storage_map_unittest.cc
index 641b6b2651dbb13734bdd8c953d9322e5eeb71c9..31283fd671f7b6e618af3e37aaafbf0eb160120f 100644
--- a/content/common/dom_storage/dom_storage_map_unittest.cc
+++ b/content/common/dom_storage/dom_storage_map_unittest.cc
@@ -13,14 +13,14 @@ namespace content {
TEST(DOMStorageMapTest, DOMStorageMapBasics) {
const base::string16 kKey(ASCIIToUTF16("key"));
const base::string16 kValue(ASCIIToUTF16("value"));
- const size_t kValueBytes = kValue.size() * sizeof(char16);
+ const size_t kValueBytes = kValue.size() * sizeof(base::char16);
const size_t kItemBytes =
- (kKey.size() + kValue.size()) * sizeof(char16);
+ (kKey.size() + kValue.size()) * sizeof(base::char16);
const base::string16 kKey2(ASCIIToUTF16("key2"));
- const size_t kKey2Bytes = kKey2.size() * sizeof(char16);
+ const size_t kKey2Bytes = kKey2.size() * sizeof(base::char16);
const base::string16 kValue2(ASCIIToUTF16("value2"));
const size_t kItem2Bytes =
- (kKey2.size() + kValue2.size()) * sizeof(char16);
+ (kKey2.size() + kValue2.size()) * sizeof(base::char16);
const size_t kQuota = 1024; // 1K quota for this test.
scoped_refptr<DOMStorageMap> map(new DOMStorageMap(kQuota));
« no previous file with comments | « content/common/dom_storage/dom_storage_map.cc ('k') | content/common/indexed_db/indexed_db_key_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698