| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/dom_storage/dom_storage_dispatcher.h" | 5 #include "content/renderer/dom_storage/dom_storage_dispatcher.h" |
| 6 | 6 |
| 7 #include <list> | 7 #include <list> |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
| 11 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
| 12 #include "content/common/dom_storage_messages.h" | 12 #include "content/common/dom_storage_messages.h" |
| 13 #include "content/renderer/dom_storage/webstoragearea_impl.h" | 13 #include "content/renderer/dom_storage/webstoragearea_impl.h" |
| 14 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" | 14 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" |
| 15 #include "content/renderer/render_thread_impl.h" | 15 #include "content/renderer/render_thread_impl.h" |
| 16 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" | 16 #include "third_party/WebKit/public/platform/Platform.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" |
| 19 #include "webkit/dom_storage/dom_storage_cached_area.h" | 19 #include "webkit/dom_storage/dom_storage_cached_area.h" |
| 20 #include "webkit/dom_storage/dom_storage_proxy.h" | 20 #include "webkit/dom_storage/dom_storage_proxy.h" |
| 21 #include "webkit/dom_storage/dom_storage_types.h" | 21 #include "webkit/dom_storage/dom_storage_types.h" |
| 22 | 22 |
| 23 using dom_storage::DomStorageCachedArea; | 23 using dom_storage::DomStorageCachedArea; |
| 24 using dom_storage::DomStorageProxy; | 24 using dom_storage::DomStorageProxy; |
| 25 using dom_storage::ValuesMap; | 25 using dom_storage::ValuesMap; |
| 26 | 26 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 originating_area, | 331 originating_area, |
| 332 originated_in_process); | 332 originated_in_process); |
| 333 } | 333 } |
| 334 } | 334 } |
| 335 | 335 |
| 336 void DomStorageDispatcher::OnAsyncOperationComplete(bool success) { | 336 void DomStorageDispatcher::OnAsyncOperationComplete(bool success) { |
| 337 proxy_->CompleteOnePendingCallback(success); | 337 proxy_->CompleteOnePendingCallback(success); |
| 338 } | 338 } |
| 339 | 339 |
| 340 } // namespace content | 340 } // namespace content |
| OLD | NEW |