| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "core/inspector/InstrumentingAgents.h" | 40 #include "core/inspector/InstrumentingAgents.h" |
| 41 #include "core/page/DOMWindow.h" | 41 #include "core/page/DOMWindow.h" |
| 42 #include "core/page/Frame.h" | 42 #include "core/page/Frame.h" |
| 43 #include "core/page/Page.h" | 43 #include "core/page/Page.h" |
| 44 #include "core/page/PageGroup.h" | 44 #include "core/page/PageGroup.h" |
| 45 #include "core/platform/JSONValues.h" | 45 #include "core/platform/JSONValues.h" |
| 46 #include "core/storage/Storage.h" | 46 #include "core/storage/Storage.h" |
| 47 #include "core/storage/StorageArea.h" | 47 #include "core/storage/StorageArea.h" |
| 48 #include "core/storage/StorageNamespace.h" | 48 #include "core/storage/StorageNamespace.h" |
| 49 #include "weborigin/SecurityOrigin.h" | 49 #include "weborigin/SecurityOrigin.h" |
| 50 | 50 #include "wtf/MemoryInstrumentationHashMap.h" |
| 51 #include <wtf/MemoryInstrumentationHashMap.h> | |
| 52 #include <wtf/Vector.h> | |
| 53 | 51 |
| 54 namespace WebCore { | 52 namespace WebCore { |
| 55 | 53 |
| 56 namespace DOMStorageAgentState { | 54 namespace DOMStorageAgentState { |
| 57 static const char domStorageAgentEnabled[] = "domStorageAgentEnabled"; | 55 static const char domStorageAgentEnabled[] = "domStorageAgentEnabled"; |
| 58 }; | 56 }; |
| 59 | 57 |
| 60 static bool hadException(ExceptionCode ec, ErrorString* errorString) | 58 static bool hadException(ExceptionCode ec, ErrorString* errorString) |
| 61 { | 59 { |
| 62 switch (ec) { | 60 switch (ec) { |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 | 232 |
| 235 void InspectorDOMStorageAgent::reportMemoryUsage(MemoryObjectInfo* memoryObjectI
nfo) const | 233 void InspectorDOMStorageAgent::reportMemoryUsage(MemoryObjectInfo* memoryObjectI
nfo) const |
| 236 { | 234 { |
| 237 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::InspectorDO
MStorageAgent); | 235 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::InspectorDO
MStorageAgent); |
| 238 InspectorBaseAgent<InspectorDOMStorageAgent>::reportMemoryUsage(memoryObject
Info); | 236 InspectorBaseAgent<InspectorDOMStorageAgent>::reportMemoryUsage(memoryObject
Info); |
| 239 info.addWeakPointer(m_frontend); | 237 info.addWeakPointer(m_frontend); |
| 240 } | 238 } |
| 241 | 239 |
| 242 } // namespace WebCore | 240 } // namespace WebCore |
| 243 | 241 |
| OLD | NEW |