| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 , domStorageAgent | 161 , domStorageAgent |
| 162 , m_domAgent | 162 , m_domAgent |
| 163 , m_debuggerAgent | 163 , m_debuggerAgent |
| 164 , pageScriptDebugServer | 164 , pageScriptDebugServer |
| 165 ); | 165 ); |
| 166 } | 166 } |
| 167 | 167 |
| 168 InspectorController::~InspectorController() | 168 InspectorController::~InspectorController() |
| 169 { | 169 { |
| 170 m_instrumentingAgents->reset(); | 170 m_instrumentingAgents->reset(); |
| 171 m_agents.discardAgents(); | |
| 172 ASSERT(!m_inspectorClient); | 171 ASSERT(!m_inspectorClient); |
| 173 } | 172 } |
| 174 | 173 |
| 175 PassOwnPtr<InspectorController> InspectorController::create(Page* page, Inspecto
rClient* client) | 174 PassOwnPtr<InspectorController> InspectorController::create(Page* page, Inspecto
rClient* client) |
| 176 { | 175 { |
| 177 return adoptPtr(new InspectorController(page, client)); | 176 return adoptPtr(new InspectorController(page, client)); |
| 178 } | 177 } |
| 179 | 178 |
| 180 void InspectorController::inspectedPageDestroyed() | 179 void InspectorController::inspectedPageDestroyed() |
| 181 { | 180 { |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 } | 441 } |
| 443 | 442 |
| 444 HashMap<String, size_t> InspectorController::processMemoryDistribution() const | 443 HashMap<String, size_t> InspectorController::processMemoryDistribution() const |
| 445 { | 444 { |
| 446 HashMap<String, size_t> memoryInfo; | 445 HashMap<String, size_t> memoryInfo; |
| 447 m_memoryAgent->getProcessMemoryDistributionMap(&memoryInfo); | 446 m_memoryAgent->getProcessMemoryDistributionMap(&memoryInfo); |
| 448 return memoryInfo; | 447 return memoryInfo; |
| 449 } | 448 } |
| 450 | 449 |
| 451 } // namespace WebCore | 450 } // namespace WebCore |
| OLD | NEW |