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

Unified Diff: content/browser/dom_storage/dom_storage_message_filter.cc

Issue 102593002: Convert string16 to base::string16 in content. (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
Index: content/browser/dom_storage/dom_storage_message_filter.cc
diff --git a/content/browser/dom_storage/dom_storage_message_filter.cc b/content/browser/dom_storage/dom_storage_message_filter.cc
index 3ab972cd72e9d2e2748a65e21f023b873d79fbb6..fbc3880abb783669c02be0cf067357b444bec9c1 100644
--- a/content/browser/dom_storage/dom_storage_message_filter.cc
+++ b/content/browser/dom_storage/dom_storage_message_filter.cc
@@ -116,8 +116,8 @@ void DOMStorageMessageFilter::OnLoadStorageArea(int connection_id,
}
void DOMStorageMessageFilter::OnSetItem(
- int connection_id, const string16& key,
- const string16& value, const GURL& page_url) {
+ int connection_id, const base::string16& key,
+ const base::string16& value, const GURL& page_url) {
DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO));
DCHECK_EQ(0, connection_dispatching_message_for_);
base::AutoReset<int> auto_reset(&connection_dispatching_message_for_,
@@ -129,20 +129,20 @@ void DOMStorageMessageFilter::OnSetItem(
}
void DOMStorageMessageFilter::OnLogGetItem(
- int connection_id, const string16& key,
+ int connection_id, const base::string16& key,
const base::NullableString16& value) {
DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO));
host_->LogGetAreaItem(connection_id, key, value);
}
void DOMStorageMessageFilter::OnRemoveItem(
- int connection_id, const string16& key,
+ int connection_id, const base::string16& key,
const GURL& page_url) {
DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO));
DCHECK_EQ(0, connection_dispatching_message_for_);
base::AutoReset<int> auto_reset(&connection_dispatching_message_for_,
connection_id);
- string16 not_used;
+ base::string16 not_used;
host_->RemoveAreaItem(connection_id, key, page_url, &not_used);
Send(new DOMStorageMsg_AsyncOperationComplete(true));
}
@@ -163,8 +163,8 @@ void DOMStorageMessageFilter::OnFlushMessages() {
void DOMStorageMessageFilter::OnDOMStorageItemSet(
const DOMStorageArea* area,
- const string16& key,
- const string16& new_value,
+ const base::string16& key,
+ const base::string16& new_value,
const base::NullableString16& old_value,
const GURL& page_url) {
SendDOMStorageEvent(area, page_url,
@@ -175,8 +175,8 @@ void DOMStorageMessageFilter::OnDOMStorageItemSet(
void DOMStorageMessageFilter::OnDOMStorageItemRemoved(
const DOMStorageArea* area,
- const string16& key,
- const string16& old_value,
+ const base::string16& key,
+ const base::string16& old_value,
const GURL& page_url) {
SendDOMStorageEvent(area, page_url,
base::NullableString16(key, false),
« no previous file with comments | « content/browser/dom_storage/dom_storage_message_filter.h ('k') | content/browser/download/download_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698