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

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

Issue 1268853009: Remove unnecessary ENABLE(OILPAN) usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: drop ENABLE(OILPAN) usage Created 5 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 } 302 }
303 ASSERT(!m_instrumentingAgents->inspectorResourceAgent()); 303 ASSERT(!m_instrumentingAgents->inspectorResourceAgent());
304 #endif 304 #endif
305 } 305 }
306 306
307 DEFINE_TRACE(InspectorResourceAgent) 307 DEFINE_TRACE(InspectorResourceAgent)
308 { 308 {
309 visitor->trace(m_pageAgent); 309 visitor->trace(m_pageAgent);
310 visitor->trace(m_replayXHRs); 310 visitor->trace(m_replayXHRs);
311 visitor->trace(m_replayXHRsToBeDeleted); 311 visitor->trace(m_replayXHRsToBeDeleted);
312
313 #if ENABLE(OILPAN)
314 visitor->trace(m_pendingXHRReplayData); 312 visitor->trace(m_pendingXHRReplayData);
315 #endif
316 InspectorBaseAgent::trace(visitor); 313 InspectorBaseAgent::trace(visitor);
317 } 314 }
318 315
319 void InspectorResourceAgent::willSendRequest(unsigned long identifier, DocumentL oader* loader, ResourceRequest& request, const ResourceResponse& redirectRespons e, const FetchInitiatorInfo& initiatorInfo) 316 void InspectorResourceAgent::willSendRequest(unsigned long identifier, DocumentL oader* loader, ResourceRequest& request, const ResourceResponse& redirectRespons e, const FetchInitiatorInfo& initiatorInfo)
320 { 317 {
321 // Ignore the request initiated internally. 318 // Ignore the request initiated internally.
322 if (initiatorInfo.name == FetchInitiatorTypeNames::internal) 319 if (initiatorInfo.name == FetchInitiatorTypeNames::internal)
323 return; 320 return;
324 321
325 if (initiatorInfo.name == FetchInitiatorTypeNames::document && loader->subst ituteData().isValid()) 322 if (initiatorInfo.name == FetchInitiatorTypeNames::document && loader->subst ituteData().isValid())
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 , m_removeFinishedReplayXHRTimer(this, &InspectorResourceAgent::removeFinish edReplayXHRFired) 952 , m_removeFinishedReplayXHRTimer(this, &InspectorResourceAgent::removeFinish edReplayXHRFired)
956 { 953 {
957 } 954 }
958 955
959 bool InspectorResourceAgent::shouldForceCORSPreflight() 956 bool InspectorResourceAgent::shouldForceCORSPreflight()
960 { 957 {
961 return m_state->getBoolean(ResourceAgentState::cacheDisabled); 958 return m_state->getBoolean(ResourceAgentState::cacheDisabled);
962 } 959 }
963 960
964 } // namespace blink 961 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698