| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2010, 2011, 2012 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 m_errorTimer.startOneShot(0, BLINK_FROM_HERE); | 280 m_errorTimer.startOneShot(0, BLINK_FROM_HERE); |
| 281 } | 281 } |
| 282 | 282 |
| 283 void AssociatedURLLoader::ClientAdapter::notifyError(Timer<ClientAdapter>* timer
) | 283 void AssociatedURLLoader::ClientAdapter::notifyError(Timer<ClientAdapter>* timer
) |
| 284 { | 284 { |
| 285 ASSERT_UNUSED(timer, timer == &m_errorTimer); | 285 ASSERT_UNUSED(timer, timer == &m_errorTimer); |
| 286 | 286 |
| 287 m_client->didFail(m_loader, m_error); | 287 m_client->didFail(m_loader, m_error); |
| 288 } | 288 } |
| 289 | 289 |
| 290 AssociatedURLLoader::AssociatedURLLoader(PassRefPtrWillBeRawPtr<WebLocalFrameImp
l> frameImpl, const WebURLLoaderOptions& options) | 290 AssociatedURLLoader::AssociatedURLLoader(RawPtr<WebLocalFrameImpl> frameImpl, co
nst WebURLLoaderOptions& options) |
| 291 : m_frameImpl(frameImpl) | 291 : m_frameImpl(frameImpl) |
| 292 , m_options(options) | 292 , m_options(options) |
| 293 , m_client(0) | 293 , m_client(0) |
| 294 { | 294 { |
| 295 ASSERT(m_frameImpl); | 295 ASSERT(m_frameImpl); |
| 296 } | 296 } |
| 297 | 297 |
| 298 AssociatedURLLoader::~AssociatedURLLoader() | 298 AssociatedURLLoader::~AssociatedURLLoader() |
| 299 { | 299 { |
| 300 cancel(); | 300 cancel(); |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 if (m_loader) | 382 if (m_loader) |
| 383 m_loader->setDefersLoading(defersLoading); | 383 m_loader->setDefersLoading(defersLoading); |
| 384 } | 384 } |
| 385 | 385 |
| 386 void AssociatedURLLoader::setLoadingTaskRunner(blink::WebTaskRunner*) | 386 void AssociatedURLLoader::setLoadingTaskRunner(blink::WebTaskRunner*) |
| 387 { | 387 { |
| 388 // TODO(alexclarke): Maybe support this one day if it proves worthwhile. | 388 // TODO(alexclarke): Maybe support this one day if it proves worthwhile. |
| 389 } | 389 } |
| 390 | 390 |
| 391 } // namespace blink | 391 } // namespace blink |
| OLD | NEW |