| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 InspectorInstrumentationCookie(InstrumentingAgents*, int); | 74 InspectorInstrumentationCookie(InstrumentingAgents*, int); |
| 75 InspectorInstrumentationCookie(const InspectorInstrumentationCookie&); | 75 InspectorInstrumentationCookie(const InspectorInstrumentationCookie&); |
| 76 InspectorInstrumentationCookie& operator=(const InspectorInstrumentationCook
ie&); | 76 InspectorInstrumentationCookie& operator=(const InspectorInstrumentationCook
ie&); |
| 77 ~InspectorInstrumentationCookie(); | 77 ~InspectorInstrumentationCookie(); |
| 78 | 78 |
| 79 InstrumentingAgents* instrumentingAgents() const { return m_instrumentingAge
nts.get(); } | 79 InstrumentingAgents* instrumentingAgents() const { return m_instrumentingAge
nts.get(); } |
| 80 bool isValid() const { return !!m_instrumentingAgents; } | 80 bool isValid() const { return !!m_instrumentingAgents; } |
| 81 bool hasMatchingTimelineAgentId(int id) const { return m_timelineAgentId ==
id; } | 81 bool hasMatchingTimelineAgentId(int id) const { return m_timelineAgentId ==
id; } |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 RefPtr<InstrumentingAgents> m_instrumentingAgents; | 84 RefPtrWillBePersistent<InstrumentingAgents> m_instrumentingAgents; |
| 85 int m_timelineAgentId; | 85 int m_timelineAgentId; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 namespace InspectorInstrumentation { | 88 namespace InspectorInstrumentation { |
| 89 | 89 |
| 90 class FrontendCounter { | 90 class FrontendCounter { |
| 91 private: | 91 private: |
| 92 friend void frontendCreated(); | 92 friend void frontendCreated(); |
| 93 friend void frontendDeleted(); | 93 friend void frontendDeleted(); |
| 94 friend bool hasFrontends(); | 94 friend bool hasFrontends(); |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 } // namespace WebCore | 191 } // namespace WebCore |
| 192 | 192 |
| 193 // This file will soon be generated | 193 // This file will soon be generated |
| 194 #include "InspectorInstrumentationInl.h" | 194 #include "InspectorInstrumentationInl.h" |
| 195 | 195 |
| 196 #include "InspectorInstrumentationCustomInl.h" | 196 #include "InspectorInstrumentationCustomInl.h" |
| 197 | 197 |
| 198 #include "InspectorOverridesInl.h" | 198 #include "InspectorOverridesInl.h" |
| 199 | 199 |
| 200 #endif // !defined(InspectorInstrumentation_h) | 200 #endif // !defined(InspectorInstrumentation_h) |
| OLD | NEW |