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

Unified Diff: webkit/browser/dom_storage/dom_storage_database.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_database.cc
diff --git a/webkit/browser/dom_storage/dom_storage_database.cc b/webkit/browser/dom_storage/dom_storage_database.cc
index fdfbb8691da141fa42d19d2060ca317049ad0a3a..b316a88acabbd6864724ae188ee3979e8184a64e 100644
--- a/webkit/browser/dom_storage/dom_storage_database.cc
+++ b/webkit/browser/dom_storage/dom_storage_database.cc
@@ -78,7 +78,7 @@ void DomStorageDatabase::ReadAllValues(ValuesMap* result) {
base::string16 key = statement.ColumnString16(0);
base::string16 value;
statement.ColumnBlobAsString16(1, &value);
- (*result)[key] = NullableString16(value, false);
+ (*result)[key] = base::NullableString16(value, false);
}
known_to_be_empty_ = result->empty();
}
@@ -109,7 +109,7 @@ bool DomStorageDatabase::CommitChanges(bool clear_all_first,
for(; it != changes.end(); ++it) {
sql::Statement statement;
base::string16 key = it->first;
- NullableString16 value = it->second;
+ base::NullableString16 value = it->second;
if (value.is_null()) {
statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE,
"DELETE FROM ItemTable WHERE key=?"));
@@ -289,7 +289,7 @@ bool DomStorageDatabase::UpgradeVersion1To2() {
ValuesMap values;
while (statement.Step()) {
base::string16 key = statement.ColumnString16(0);
- NullableString16 value(statement.ColumnString16(1), false);
+ base::NullableString16 value(statement.ColumnString16(1), false);
values[key] = value;
}
« no previous file with comments | « webkit/browser/dom_storage/dom_storage_database.h ('k') | webkit/browser/dom_storage/dom_storage_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698