| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 void didReceiveWebSocketFrameError(unsigned long identifier, const String&); | 130 void didReceiveWebSocketFrameError(unsigned long identifier, const String&); |
| 131 | 131 |
| 132 // called from Internals for layout test purposes. | 132 // called from Internals for layout test purposes. |
| 133 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize
, int maximumSingleResourceContentSize); | 133 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize
, int maximumSingleResourceContentSize); |
| 134 | 134 |
| 135 // Called from frontend | 135 // Called from frontend |
| 136 virtual void enable(ErrorString*); | 136 virtual void enable(ErrorString*); |
| 137 virtual void disable(ErrorString*); | 137 virtual void disable(ErrorString*); |
| 138 virtual void setUserAgentOverride(ErrorString*, const String& userAgent); | 138 virtual void setUserAgentOverride(ErrorString*, const String& userAgent); |
| 139 virtual void setExtraHTTPHeaders(ErrorString*, const RefPtr<JSONObject>&); | 139 virtual void setExtraHTTPHeaders(ErrorString*, const RefPtr<JSONObject>&); |
| 140 virtual void getResponseBody(ErrorString*, const String& requestId, String*
content, bool* base64Encoded); | 140 virtual void getResponseBody(ErrorString*, const String& requestId, PassRefP
tr<GetResponseBodyCallback>); |
| 141 | 141 |
| 142 virtual void replayXHR(ErrorString*, const String& requestId); | 142 virtual void replayXHR(ErrorString*, const String& requestId); |
| 143 | 143 |
| 144 virtual void canClearBrowserCache(ErrorString*, bool*); | 144 virtual void canClearBrowserCache(ErrorString*, bool*); |
| 145 virtual void clearBrowserCache(ErrorString*); | 145 virtual void clearBrowserCache(ErrorString*); |
| 146 virtual void canClearBrowserCookies(ErrorString*, bool*); | 146 virtual void canClearBrowserCookies(ErrorString*, bool*); |
| 147 virtual void clearBrowserCookies(ErrorString*); | 147 virtual void clearBrowserCookies(ErrorString*); |
| 148 virtual void setCacheDisabled(ErrorString*, bool cacheDisabled); | 148 virtual void setCacheDisabled(ErrorString*, bool cacheDisabled); |
| 149 | 149 |
| 150 virtual void loadResourceForFrontend(ErrorString*, const String& frameId, co
nst String& url, const RefPtr<JSONObject>* requestHeaders, PassRefPtr<LoadResour
ceForFrontendCallback>); | 150 virtual void loadResourceForFrontend(ErrorString*, const String& frameId, co
nst String& url, const RefPtr<JSONObject>* requestHeaders, PassRefPtr<LoadResour
ceForFrontendCallback>); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 170 | 170 |
| 171 // FIXME: InspectorResourceAgent should now be aware of style recalculation. | 171 // FIXME: InspectorResourceAgent should now be aware of style recalculation. |
| 172 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; | 172 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; |
| 173 bool m_isRecalculatingStyle; | 173 bool m_isRecalculatingStyle; |
| 174 }; | 174 }; |
| 175 | 175 |
| 176 } // namespace WebCore | 176 } // namespace WebCore |
| 177 | 177 |
| 178 | 178 |
| 179 #endif // !defined(InspectorResourceAgent_h) | 179 #endif // !defined(InspectorResourceAgent_h) |
| OLD | NEW |