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

Unified Diff: webkit/browser/dom_storage/dom_storage_context_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
Index: webkit/browser/dom_storage/dom_storage_context_unittest.cc
diff --git a/webkit/browser/dom_storage/dom_storage_context_unittest.cc b/webkit/browser/dom_storage/dom_storage_context_unittest.cc
index 88a1f7771a7654b995e187b4b0cfddfc990ed2cb..0abc3b0753a91cf20ebee164081b92e023559cdb 100644
--- a/webkit/browser/dom_storage/dom_storage_context_unittest.cc
+++ b/webkit/browser/dom_storage/dom_storage_context_unittest.cc
@@ -99,7 +99,7 @@ TEST_F(DomStorageContextTest, UsageInfo) {
// Put some data into local storage and shutdown the context
// to ensure data is written to disk.
- NullableString16 old_value;
+ base::NullableString16 old_value;
EXPECT_TRUE(context_->GetStorageNamespace(kLocalStorageNamespaceId)->
OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value));
context_->Shutdown();
@@ -129,7 +129,7 @@ TEST_F(DomStorageContextTest, SessionOnly) {
// Store data for a normal and a session-only origin and then
// invoke Shutdown() which should delete data for session-only
// origins.
- NullableString16 old_value;
+ base::NullableString16 old_value;
EXPECT_TRUE(context_->GetStorageNamespace(kLocalStorageNamespaceId)->
OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value));
EXPECT_TRUE(context_->GetStorageNamespace(kLocalStorageNamespaceId)->
@@ -148,7 +148,7 @@ TEST_F(DomStorageContextTest, SetForceKeepSessionState) {
// Store data for a session-only origin, setup to save session data, then
// shutdown.
- NullableString16 old_value;
+ base::NullableString16 old_value;
EXPECT_TRUE(context_->GetStorageNamespace(kLocalStorageNamespaceId)->
OpenStorageArea(kSessionOnlyOrigin)->SetItem(kKey, kValue, &old_value));
context_->SetForceKeepSessionState(); // Should override clear behavior.
@@ -207,7 +207,7 @@ TEST_F(DomStorageContextTest, DeleteSessionStorage) {
DomStorageArea* area = dom_namespace->OpenStorageArea(kOrigin);
const base::string16 kKey(ASCIIToUTF16("foo"));
const base::string16 kValue(ASCIIToUTF16("bar"));
- NullableString16 old_nullable_value;
+ base::NullableString16 old_nullable_value;
area->SetItem(kKey, kValue, &old_nullable_value);
dom_namespace->CloseStorageArea(area);
@@ -225,7 +225,7 @@ TEST_F(DomStorageContextTest, DeleteSessionStorage) {
kPersistentId);
dom_namespace = context_->GetStorageNamespace(kSessionStorageNamespaceId);
area = dom_namespace->OpenStorageArea(kOrigin);
- NullableString16 read_value;
+ base::NullableString16 read_value;
read_value = area->GetItem(kKey);
EXPECT_EQ(kValue, read_value.string());
dom_namespace->CloseStorageArea(area);
« no previous file with comments | « webkit/browser/dom_storage/dom_storage_context.cc ('k') | webkit/browser/dom_storage/dom_storage_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698