| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 InspectorInstrumentationCookie& operator=(const InspectorInstrumentationCook
ie&); | 71 InspectorInstrumentationCookie& operator=(const InspectorInstrumentationCook
ie&); |
| 72 ~InspectorInstrumentationCookie(); | 72 ~InspectorInstrumentationCookie(); |
| 73 | 73 |
| 74 InstrumentingAgents* instrumentingAgents() const { return m_instrumentingAge
nts.get(); } | 74 InstrumentingAgents* instrumentingAgents() const { return m_instrumentingAge
nts.get(); } |
| 75 bool isValid() const { return !!m_instrumentingAgents; } | 75 bool isValid() const { return !!m_instrumentingAgents; } |
| 76 | 76 |
| 77 private: | 77 private: |
| 78 RefPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents; | 78 RefPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents; |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 enum InspectorRequestBlockedReason { |
| 82 InspectorRequestBlockedReasonCSP, |
| 83 InspectorRequestBlockedReasonMixedContent, |
| 84 InspectorRequestBlockedReasonOrigin, |
| 85 InspectorRequestBlockedReasonInspector, |
| 86 InspectorRequestBlockedReasonOther, |
| 87 InspectorRequestBlockedReasonNone |
| 88 }; |
| 89 |
| 81 namespace InspectorInstrumentation { | 90 namespace InspectorInstrumentation { |
| 82 | 91 |
| 83 class CORE_EXPORT FrontendCounter { | 92 class CORE_EXPORT FrontendCounter { |
| 84 private: | 93 private: |
| 85 friend void frontendCreated(); | 94 friend void frontendCreated(); |
| 86 friend void frontendDeleted(); | 95 friend void frontendDeleted(); |
| 87 friend bool hasFrontends(); | 96 friend bool hasFrontends(); |
| 88 static int s_frontendCounter; | 97 static int s_frontendCounter; |
| 89 }; | 98 }; |
| 90 | 99 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 181 |
| 173 } // namespace blink | 182 } // namespace blink |
| 174 | 183 |
| 175 #include "core/InspectorInstrumentationInl.h" | 184 #include "core/InspectorInstrumentationInl.h" |
| 176 | 185 |
| 177 #include "core/inspector/InspectorInstrumentationCustomInl.h" | 186 #include "core/inspector/InspectorInstrumentationCustomInl.h" |
| 178 | 187 |
| 179 #include "core/InspectorOverridesInl.h" | 188 #include "core/InspectorOverridesInl.h" |
| 180 | 189 |
| 181 #endif // !defined(InspectorInstrumentation_h) | 190 #endif // !defined(InspectorInstrumentation_h) |
| OLD | NEW |