| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  101     void setInspectorTimelineAgent(InspectorTimelineAgent* agent) { m_inspectorT
     imelineAgent = agent; } |  101     void setInspectorTimelineAgent(InspectorTimelineAgent* agent) { m_inspectorT
     imelineAgent = agent; } | 
|  102  |  102  | 
|  103     InspectorDOMStorageAgent* inspectorDOMStorageAgent() const { return m_inspec
     torDOMStorageAgent; } |  103     InspectorDOMStorageAgent* inspectorDOMStorageAgent() const { return m_inspec
     torDOMStorageAgent; } | 
|  104     void setInspectorDOMStorageAgent(InspectorDOMStorageAgent* agent) { m_inspec
     torDOMStorageAgent = agent; } |  104     void setInspectorDOMStorageAgent(InspectorDOMStorageAgent* agent) { m_inspec
     torDOMStorageAgent = agent; } | 
|  105  |  105  | 
|  106 #if ENABLE(SQL_DATABASE) |  106 #if ENABLE(SQL_DATABASE) | 
|  107     InspectorDatabaseAgent* inspectorDatabaseAgent() const { return m_inspectorD
     atabaseAgent; } |  107     InspectorDatabaseAgent* inspectorDatabaseAgent() const { return m_inspectorD
     atabaseAgent; } | 
|  108     void setInspectorDatabaseAgent(InspectorDatabaseAgent* agent) { m_inspectorD
     atabaseAgent = agent; } |  108     void setInspectorDatabaseAgent(InspectorDatabaseAgent* agent) { m_inspectorD
     atabaseAgent = agent; } | 
|  109 #endif |  109 #endif | 
|  110  |  110  | 
|  111 #if ENABLE(FILE_SYSTEM) |  | 
|  112     InspectorFileSystemAgent* inspectorFileSystemAgent() const { return m_inspec
     torFileSystemAgent; } |  111     InspectorFileSystemAgent* inspectorFileSystemAgent() const { return m_inspec
     torFileSystemAgent; } | 
|  113     void setInspectorFileSystemAgent(InspectorFileSystemAgent* agent) { m_inspec
     torFileSystemAgent = agent; } |  112     void setInspectorFileSystemAgent(InspectorFileSystemAgent* agent) { m_inspec
     torFileSystemAgent = agent; } | 
|  114 #endif |  | 
|  115  |  113  | 
|  116     InspectorApplicationCacheAgent* inspectorApplicationCacheAgent() const { ret
     urn m_inspectorApplicationCacheAgent; } |  114     InspectorApplicationCacheAgent* inspectorApplicationCacheAgent() const { ret
     urn m_inspectorApplicationCacheAgent; } | 
|  117     void setInspectorApplicationCacheAgent(InspectorApplicationCacheAgent* agent
     ) { m_inspectorApplicationCacheAgent = agent; } |  115     void setInspectorApplicationCacheAgent(InspectorApplicationCacheAgent* agent
     ) { m_inspectorApplicationCacheAgent = agent; } | 
|  118  |  116  | 
|  119     InspectorDebuggerAgent* inspectorDebuggerAgent() const { return m_inspectorD
     ebuggerAgent; } |  117     InspectorDebuggerAgent* inspectorDebuggerAgent() const { return m_inspectorD
     ebuggerAgent; } | 
|  120     void setInspectorDebuggerAgent(InspectorDebuggerAgent* agent) { m_inspectorD
     ebuggerAgent = agent; } |  118     void setInspectorDebuggerAgent(InspectorDebuggerAgent* agent) { m_inspectorD
     ebuggerAgent = agent; } | 
|  121  |  119  | 
|  122     PageDebuggerAgent* pageDebuggerAgent() const { return m_pageDebuggerAgent; } |  120     PageDebuggerAgent* pageDebuggerAgent() const { return m_pageDebuggerAgent; } | 
|  123     void setPageDebuggerAgent(PageDebuggerAgent* agent) { m_pageDebuggerAgent = 
     agent; } |  121     void setPageDebuggerAgent(PageDebuggerAgent* agent) { m_pageDebuggerAgent = 
     agent; } | 
|  124  |  122  | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  156     InspectorConsoleAgent* m_inspectorConsoleAgent; |  154     InspectorConsoleAgent* m_inspectorConsoleAgent; | 
|  157     InspectorDOMAgent* m_inspectorDOMAgent; |  155     InspectorDOMAgent* m_inspectorDOMAgent; | 
|  158     InspectorResourceAgent* m_inspectorResourceAgent; |  156     InspectorResourceAgent* m_inspectorResourceAgent; | 
|  159     PageRuntimeAgent* m_pageRuntimeAgent; |  157     PageRuntimeAgent* m_pageRuntimeAgent; | 
|  160     WorkerRuntimeAgent* m_workerRuntimeAgent; |  158     WorkerRuntimeAgent* m_workerRuntimeAgent; | 
|  161     InspectorTimelineAgent* m_inspectorTimelineAgent; |  159     InspectorTimelineAgent* m_inspectorTimelineAgent; | 
|  162     InspectorDOMStorageAgent* m_inspectorDOMStorageAgent; |  160     InspectorDOMStorageAgent* m_inspectorDOMStorageAgent; | 
|  163 #if ENABLE(SQL_DATABASE) |  161 #if ENABLE(SQL_DATABASE) | 
|  164     InspectorDatabaseAgent* m_inspectorDatabaseAgent; |  162     InspectorDatabaseAgent* m_inspectorDatabaseAgent; | 
|  165 #endif |  163 #endif | 
|  166 #if ENABLE(FILE_SYSTEM) |  | 
|  167     InspectorFileSystemAgent* m_inspectorFileSystemAgent; |  164     InspectorFileSystemAgent* m_inspectorFileSystemAgent; | 
|  168 #endif |  | 
|  169     InspectorApplicationCacheAgent* m_inspectorApplicationCacheAgent; |  165     InspectorApplicationCacheAgent* m_inspectorApplicationCacheAgent; | 
|  170     InspectorDebuggerAgent* m_inspectorDebuggerAgent; |  166     InspectorDebuggerAgent* m_inspectorDebuggerAgent; | 
|  171     PageDebuggerAgent* m_pageDebuggerAgent; |  167     PageDebuggerAgent* m_pageDebuggerAgent; | 
|  172     InspectorDOMDebuggerAgent* m_inspectorDOMDebuggerAgent; |  168     InspectorDOMDebuggerAgent* m_inspectorDOMDebuggerAgent; | 
|  173     InspectorProfilerAgent* m_inspectorProfilerAgent; |  169     InspectorProfilerAgent* m_inspectorProfilerAgent; | 
|  174     InspectorHeapProfilerAgent* m_inspectorHeapProfilerAgent; |  170     InspectorHeapProfilerAgent* m_inspectorHeapProfilerAgent; | 
|  175 #if ENABLE(WORKERS) |  171 #if ENABLE(WORKERS) | 
|  176     InspectorWorkerAgent* m_inspectorWorkerAgent; |  172     InspectorWorkerAgent* m_inspectorWorkerAgent; | 
|  177 #endif |  173 #endif | 
|  178     InspectorCanvasAgent* m_inspectorCanvasAgent; |  174     InspectorCanvasAgent* m_inspectorCanvasAgent; | 
|  179 }; |  175 }; | 
|  180  |  176  | 
|  181 InstrumentingAgents* instrumentationForPage(Page*); |  177 InstrumentingAgents* instrumentationForPage(Page*); | 
|  182 #if ENABLE(WORKERS) |  178 #if ENABLE(WORKERS) | 
|  183 InstrumentingAgents* instrumentationForWorkerContext(WorkerContext*); |  179 InstrumentingAgents* instrumentationForWorkerContext(WorkerContext*); | 
|  184 #endif |  180 #endif | 
|  185  |  181  | 
|  186 } |  182 } | 
|  187  |  183  | 
|  188 #endif // !defined(InstrumentingAgents_h) |  184 #endif // !defined(InstrumentingAgents_h) | 
| OLD | NEW |