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

Unified Diff: third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImpl.cpp

Issue 2831833002: Move WebAssociatedURLLoaderImpl.* from web/ -> core/export/. (Closed)
Patch Set: Need to BLINK_EXPORT WebAssociatedURLLoader for compile to work on windows. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebAssociatedURLLoaderImpl.cpp b/third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImpl.cpp
similarity index 98%
rename from third_party/WebKit/Source/web/WebAssociatedURLLoaderImpl.cpp
rename to third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImpl.cpp
index 8d212a2a6e422f58db1cb6f2e958d21db9c4838b..9bdc09d49e2206c4d7165432dede2b87911d3497 100644
--- a/third_party/WebKit/Source/web/WebAssociatedURLLoaderImpl.cpp
+++ b/third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImpl.cpp
@@ -28,11 +28,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "web/WebAssociatedURLLoaderImpl.h"
+#include "core/exported/WebAssociatedURLLoaderImpl.h"
#include <limits.h>
#include <memory>
#include "core/dom/ContextLifecycleObserver.h"
+#include "core/dom/Document.h"
#include "core/dom/TaskRunnerHelper.h"
#include "core/loader/DocumentThreadableLoader.h"
#include "core/loader/DocumentThreadableLoaderClient.h"
@@ -53,7 +54,6 @@
#include "public/platform/WebURLRequest.h"
#include "public/web/WebAssociatedURLLoaderClient.h"
#include "public/web/WebDataSource.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
@@ -337,11 +337,11 @@ class WebAssociatedURLLoaderImpl::Observer final
};
WebAssociatedURLLoaderImpl::WebAssociatedURLLoaderImpl(
- WebLocalFrameImpl* frame_impl,
+ Document* document,
const WebAssociatedURLLoaderOptions& options)
: client_(nullptr),
options_(options),
- observer_(new Observer(this, frame_impl->GetFrame()->GetDocument())) {}
+ observer_(new Observer(this, document)) {}
WebAssociatedURLLoaderImpl::~WebAssociatedURLLoaderImpl() {
Cancel();
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImpl.h ('k') | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698