| 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 #ifndef CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_ |
| 6 #define CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 | 9 |
| 10 class GURL; | 10 class GURL; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 void CloseCachedArea(int connection_id, DOMStorageCachedArea* area); | 35 void CloseCachedArea(int connection_id, DOMStorageCachedArea* area); |
| 36 | 36 |
| 37 bool OnMessageReceived(const IPC::Message& msg); | 37 bool OnMessageReceived(const IPC::Message& msg); |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 class ProxyImpl; | 40 class ProxyImpl; |
| 41 | 41 |
| 42 // IPC message handlers | 42 // IPC message handlers |
| 43 void OnStorageEvent(const DOMStorageMsg_Event_Params& params); | 43 void OnStorageEvent(const DOMStorageMsg_Event_Params& params); |
| 44 void OnAsyncOperationComplete(bool success); | 44 void OnAsyncOperationComplete(bool success); |
| 45 void OnResetCachedValues(int64 namespace_id); | |
| 46 | 45 |
| 47 scoped_refptr<ProxyImpl> proxy_; | 46 scoped_refptr<ProxyImpl> proxy_; |
| 48 }; | 47 }; |
| 49 | 48 |
| 50 } // namespace content | 49 } // namespace content |
| 51 | 50 |
| 52 #endif // CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_ | 51 #endif // CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_ |
| OLD | NEW |