| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 InspectorInstrumentationCookie(InstrumentingAgents*, int); | 73 InspectorInstrumentationCookie(InstrumentingAgents*, int); |
| 74 InspectorInstrumentationCookie(const InspectorInstrumentationCookie&); | 74 InspectorInstrumentationCookie(const InspectorInstrumentationCookie&); |
| 75 InspectorInstrumentationCookie& operator=(const InspectorInstrumentationCook
ie&); | 75 InspectorInstrumentationCookie& operator=(const InspectorInstrumentationCook
ie&); |
| 76 ~InspectorInstrumentationCookie(); | 76 ~InspectorInstrumentationCookie(); |
| 77 | 77 |
| 78 InstrumentingAgents* instrumentingAgents() const { return m_instrumentingAge
nts.get(); } | 78 InstrumentingAgents* instrumentingAgents() const { return m_instrumentingAge
nts.get(); } |
| 79 bool isValid() const { return !!m_instrumentingAgents; } | 79 bool isValid() const { return !!m_instrumentingAgents; } |
| 80 bool hasMatchingTimelineAgentId(int id) const { return m_timelineAgentId ==
id; } | 80 bool hasMatchingTimelineAgentId(int id) const { return m_timelineAgentId ==
id; } |
| 81 | 81 |
| 82 private: | 82 private: |
| 83 RefPtr<InstrumentingAgents> m_instrumentingAgents; | 83 RefPtrWillBePersistent<InstrumentingAgents> m_instrumentingAgents; |
| 84 int m_timelineAgentId; | 84 int m_timelineAgentId; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 namespace InspectorInstrumentation { | 87 namespace InspectorInstrumentation { |
| 88 | 88 |
| 89 class FrontendCounter { | 89 class FrontendCounter { |
| 90 private: | 90 private: |
| 91 friend void frontendCreated(); | 91 friend void frontendCreated(); |
| 92 friend void frontendDeleted(); | 92 friend void frontendDeleted(); |
| 93 friend bool hasFrontends(); | 93 friend bool hasFrontends(); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 | 189 |
| 190 } // namespace blink | 190 } // namespace blink |
| 191 | 191 |
| 192 #include "core/InspectorInstrumentationInl.h" | 192 #include "core/InspectorInstrumentationInl.h" |
| 193 | 193 |
| 194 #include "core/inspector/InspectorInstrumentationCustomInl.h" | 194 #include "core/inspector/InspectorInstrumentationCustomInl.h" |
| 195 | 195 |
| 196 #include "core/InspectorOverridesInl.h" | 196 #include "core/InspectorOverridesInl.h" |
| 197 | 197 |
| 198 #endif // !defined(InspectorInstrumentation_h) | 198 #endif // !defined(InspectorInstrumentation_h) |
| OLD | NEW |