| Index: content/renderer/dom_storage/dom_storage_dispatcher.cc
|
| diff --git a/content/renderer/dom_storage/dom_storage_dispatcher.cc b/content/renderer/dom_storage/dom_storage_dispatcher.cc
|
| index 3cab4feb42575c959a4bcf99270006e1f76ce042..b8869c23bda86bbf5efe0a196024ebf3c18ce358 100644
|
| --- a/content/renderer/dom_storage/dom_storage_dispatcher.cc
|
| +++ b/content/renderer/dom_storage/dom_storage_dispatcher.cc
|
| @@ -9,7 +9,8 @@
|
|
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/synchronization/lock.h"
|
| -#include "content/common/dom_storage_messages.h"
|
| +#include "content/common/dom_storage/dom_storage_messages.h"
|
| +#include "content/common/dom_storage/dom_storage_types.h"
|
| #include "content/renderer/dom_storage/dom_storage_cached_area.h"
|
| #include "content/renderer/dom_storage/dom_storage_proxy.h"
|
| #include "content/renderer/dom_storage/webstoragearea_impl.h"
|
| @@ -18,9 +19,6 @@
|
| #include "third_party/WebKit/public/platform/Platform.h"
|
| #include "third_party/WebKit/public/web/WebKit.h"
|
| #include "third_party/WebKit/public/web/WebStorageEventDispatcher.h"
|
| -#include "webkit/common/dom_storage/dom_storage_types.h"
|
| -
|
| -using dom_storage::ValuesMap;
|
|
|
| namespace content {
|
|
|
| @@ -109,7 +107,7 @@ class DomStorageDispatcher::ProxyImpl : public DomStorageProxy {
|
| void Shutdown();
|
|
|
| // DomStorageProxy interface for use by DomStorageCachedArea.
|
| - virtual void LoadArea(int connection_id, ValuesMap* values,
|
| + virtual void LoadArea(int connection_id, DOMStorageValuesMap* values,
|
| const CompletionCallback& callback) OVERRIDE;
|
| virtual void SetItem(int connection_id, const string16& key,
|
| const string16& value, const GURL& page_url,
|
| @@ -223,7 +221,7 @@ void DomStorageDispatcher::ProxyImpl::Shutdown() {
|
| }
|
|
|
| void DomStorageDispatcher::ProxyImpl::LoadArea(
|
| - int connection_id, ValuesMap* values,
|
| + int connection_id, DOMStorageValuesMap* values,
|
| const CompletionCallback& callback) {
|
| PushPendingCallback(callback);
|
| throttling_filter_->SendThrottled(new DOMStorageHostMsg_LoadStorageArea(
|
| @@ -307,7 +305,7 @@ void DomStorageDispatcher::OnStorageEvent(
|
| cached_area->ApplyMutation(params.key, params.new_value);
|
| }
|
|
|
| - if (params.namespace_id == dom_storage::kLocalStorageNamespaceId) {
|
| + if (params.namespace_id == kLocalStorageNamespaceId) {
|
| WebKit::WebStorageEventDispatcher::dispatchLocalStorageEvent(
|
| params.key,
|
| params.old_value,
|
|
|