| Index: content/browser/dom_storage/dom_storage_message_filter.cc
|
| ===================================================================
|
| --- content/browser/dom_storage/dom_storage_message_filter.cc (revision 163834)
|
| +++ content/browser/dom_storage/dom_storage_message_filter.cc (working copy)
|
| @@ -17,11 +17,11 @@
|
| #include "webkit/dom_storage/dom_storage_host.h"
|
| #include "webkit/dom_storage/dom_storage_task_runner.h"
|
|
|
| -using content::BrowserThread;
|
| -using content::UserMetricsAction;
|
| using dom_storage::DomStorageTaskRunner;
|
| using WebKit::WebStorageArea;
|
|
|
| +namespace content {
|
| +
|
| DOMStorageMessageFilter::DOMStorageMessageFilter(
|
| int unused,
|
| DOMStorageContextImpl* context)
|
| @@ -96,7 +96,7 @@
|
| const GURL& origin) {
|
| DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| if (!host_->OpenStorageArea(connection_id, namespace_id, origin)) {
|
| - content::RecordAction(UserMetricsAction("BadMessageTerminate_DSMF_1"));
|
| + RecordAction(UserMetricsAction("BadMessageTerminate_DSMF_1"));
|
| BadMessageReceived();
|
| }
|
| }
|
| @@ -110,7 +110,7 @@
|
| dom_storage::ValuesMap* map) {
|
| DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| if (!host_->ExtractAreaValues(connection_id, map)) {
|
| - content::RecordAction(UserMetricsAction("BadMessageTerminate_DSMF_2"));
|
| + RecordAction(UserMetricsAction("BadMessageTerminate_DSMF_2"));
|
| BadMessageReceived();
|
| }
|
| Send(new DOMStorageMsg_AsyncOperationComplete(true));
|
| @@ -209,3 +209,5 @@
|
| Send(new DOMStorageMsg_Event(params));
|
| }
|
| }
|
| +
|
| +} // namespace content
|
|
|