Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: Source/core/inspector/InspectorResourceAgent.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual void getResponseBody(ErrorString*, const String& requestId, String* content, bool* base64Encoded); 141 virtual void getResponseBody(ErrorString*, const String& requestId, String* content, bool* base64Encoded);
142 142
143 virtual void replayXHR(ErrorString*, const String& requestId); 143 virtual void replayXHR(ErrorString*, const String& requestId);
144 144
145 virtual void canClearBrowserCache(ErrorString*, bool*); 145 virtual void canClearBrowserCache(ErrorString*, bool*);
146 virtual void clearBrowserCache(ErrorString*); 146 virtual void clearBrowserCache(ErrorString*);
147 virtual void canClearBrowserCookies(ErrorString*, bool*); 147 virtual void canClearBrowserCookies(ErrorString*, bool*);
148 virtual void clearBrowserCookies(ErrorString*); 148 virtual void clearBrowserCookies(ErrorString*);
149 virtual void setCacheDisabled(ErrorString*, bool cacheDisabled); 149 virtual void setCacheDisabled(ErrorString*, bool cacheDisabled);
150 150
151 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
152
153 private: 151 private:
154 InspectorResourceAgent(InstrumentingAgents*, InspectorPageAgent*, InspectorC lient*, InspectorCompositeState*); 152 InspectorResourceAgent(InstrumentingAgents*, InspectorPageAgent*, InspectorC lient*, InspectorCompositeState*);
155 153
156 void enable(); 154 void enable();
157 155
158 InspectorPageAgent* m_pageAgent; 156 InspectorPageAgent* m_pageAgent;
159 InspectorClient* m_client; 157 InspectorClient* m_client;
160 InspectorFrontend::Network* m_frontend; 158 InspectorFrontend::Network* m_frontend;
161 String m_userAgentOverride; 159 String m_userAgentOverride;
162 OwnPtr<NetworkResourcesData> m_resourcesData; 160 OwnPtr<NetworkResourcesData> m_resourcesData;
163 bool m_loadingXHRSynchronously; 161 bool m_loadingXHRSynchronously;
164 162
165 typedef HashMap<ThreadableLoaderClient*, RefPtr<XHRReplayData> > PendingXHRR eplayDataMap; 163 typedef HashMap<ThreadableLoaderClient*, RefPtr<XHRReplayData> > PendingXHRR eplayDataMap;
166 PendingXHRReplayDataMap m_pendingXHRReplayData; 164 PendingXHRReplayDataMap m_pendingXHRReplayData;
167 // FIXME: InspectorResourceAgent should now be aware of style recalculation. 165 // FIXME: InspectorResourceAgent should now be aware of style recalculation.
168 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; 166 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator;
169 bool m_isRecalculatingStyle; 167 bool m_isRecalculatingStyle;
170 }; 168 };
171 169
172 } // namespace WebCore 170 } // namespace WebCore
173 171
174 172
175 #endif // !defined(InspectorResourceAgent_h) 173 #endif // !defined(InspectorResourceAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorProfilerAgent.cpp ('k') | Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698