| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #include "ApplicationCacheHostInternal.h" | 34 #include "ApplicationCacheHostInternal.h" |
| 35 #include "core/dom/Document.h" | 35 #include "core/dom/Document.h" |
| 36 #include "core/loader/FrameLoader.h" | 36 #include "core/loader/FrameLoader.h" |
| 37 #include "public/platform/WebURL.h" | 37 #include "public/platform/WebURL.h" |
| 38 #include "public/platform/WebURLError.h" | 38 #include "public/platform/WebURLError.h" |
| 39 #include "public/platform/WebVector.h" | 39 #include "public/platform/WebVector.h" |
| 40 | 40 |
| 41 using namespace WebCore; | 41 using namespace WebCore; |
| 42 | 42 |
| 43 namespace WebKit { | 43 namespace blink { |
| 44 | 44 |
| 45 static OwnPtr<WebPluginLoadObserver>& nextPluginLoadObserver() | 45 static OwnPtr<WebPluginLoadObserver>& nextPluginLoadObserver() |
| 46 { | 46 { |
| 47 DEFINE_STATIC_LOCAL(OwnPtr<WebPluginLoadObserver>, nextPluginLoadObserver, (
)); | 47 DEFINE_STATIC_LOCAL(OwnPtr<WebPluginLoadObserver>, nextPluginLoadObserver, (
)); |
| 48 return nextPluginLoadObserver; | 48 return nextPluginLoadObserver; |
| 49 } | 49 } |
| 50 | 50 |
| 51 PassRefPtr<WebDataSourceImpl> WebDataSourceImpl::create(const ResourceRequest& r
equest, const SubstituteData& data) | 51 PassRefPtr<WebDataSourceImpl> WebDataSourceImpl::create(const ResourceRequest& r
equest, const SubstituteData& data) |
| 52 { | 52 { |
| 53 return adoptRef(new WebDataSourceImpl(request, data)); | 53 return adoptRef(new WebDataSourceImpl(request, data)); |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 return; | 178 return; |
| 179 | 179 |
| 180 ASSERT(nextPluginLoadObserver()->url() == WebURL(request.url())); | 180 ASSERT(nextPluginLoadObserver()->url() == WebURL(request.url())); |
| 181 m_pluginLoadObserver = nextPluginLoadObserver().release(); | 181 m_pluginLoadObserver = nextPluginLoadObserver().release(); |
| 182 } | 182 } |
| 183 | 183 |
| 184 WebDataSourceImpl::~WebDataSourceImpl() | 184 WebDataSourceImpl::~WebDataSourceImpl() |
| 185 { | 185 { |
| 186 } | 186 } |
| 187 | 187 |
| 188 } // namespace WebKit | 188 } // namespace blink |
| OLD | NEW |