| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 public: | 61 public: |
| 62 enum ResourceType { | 62 enum ResourceType { |
| 63 DocumentResource, | 63 DocumentResource, |
| 64 StylesheetResource, | 64 StylesheetResource, |
| 65 ImageResource, | 65 ImageResource, |
| 66 FontResource, | 66 FontResource, |
| 67 MediaResource, | 67 MediaResource, |
| 68 ScriptResource, | 68 ScriptResource, |
| 69 TextTrackResource, | 69 TextTrackResource, |
| 70 XHRResource, | 70 XHRResource, |
| 71 FetchResource, |
| 72 EventSourceResource, |
| 71 WebSocketResource, | 73 WebSocketResource, |
| 72 OtherResource | 74 OtherResource |
| 73 }; | 75 }; |
| 74 | 76 |
| 75 static PassOwnPtrWillBeRawPtr<InspectorPageAgent> create(LocalFrame* inspect
edFrame, InspectorOverlay*, InspectorResourceContentLoader*); | 77 static PassOwnPtrWillBeRawPtr<InspectorPageAgent> create(LocalFrame* inspect
edFrame, InspectorOverlay*, InspectorResourceContentLoader*); |
| 76 void setDeferredAgents(InspectorDebuggerAgent*, InspectorCSSAgent*); | 78 void setDeferredAgents(InspectorDebuggerAgent*, InspectorCSSAgent*); |
| 77 | 79 |
| 78 static Vector<Document*> importsForFrame(LocalFrame*); | 80 static Vector<Document*> importsForFrame(LocalFrame*); |
| 79 static bool cachedResourceContent(Resource*, String* result, bool* base64Enc
oded); | 81 static bool cachedResourceContent(Resource*, String* result, bool* base64Enc
oded); |
| 80 static bool sharedBufferContent(PassRefPtr<SharedBuffer>, const String& text
EncodingName, bool withBase64Encode, String* result); | 82 static bool sharedBufferContent(PassRefPtr<SharedBuffer>, const String& text
EncodingName, bool withBase64Encode, String* result); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 bool m_reloading; | 153 bool m_reloading; |
| 152 | 154 |
| 153 RawPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten
tLoader; | 155 RawPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten
tLoader; |
| 154 }; | 156 }; |
| 155 | 157 |
| 156 | 158 |
| 157 } // namespace blink | 159 } // namespace blink |
| 158 | 160 |
| 159 | 161 |
| 160 #endif // !defined(InspectorPagerAgent_h) | 162 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |