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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 11 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
OLDNEW
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 26 matching lines...) Expand all
37 #include "bindings/core/v8/V8ErrorEvent.h" 37 #include "bindings/core/v8/V8ErrorEvent.h"
38 #include "bindings/core/v8/V8ErrorHandler.h" 38 #include "bindings/core/v8/V8ErrorHandler.h"
39 #include "bindings/core/v8/V8GCController.h" 39 #include "bindings/core/v8/V8GCController.h"
40 #include "bindings/core/v8/V8IdleTaskRunner.h" 40 #include "bindings/core/v8/V8IdleTaskRunner.h"
41 #include "bindings/core/v8/V8Location.h" 41 #include "bindings/core/v8/V8Location.h"
42 #include "bindings/core/v8/V8PerContextData.h" 42 #include "bindings/core/v8/V8PerContextData.h"
43 #include "bindings/core/v8/V8PrivateProperty.h" 43 #include "bindings/core/v8/V8PrivateProperty.h"
44 #include "bindings/core/v8/V8Window.h" 44 #include "bindings/core/v8/V8Window.h"
45 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" 45 #include "bindings/core/v8/WorkerOrWorkletScriptController.h"
46 #include "core/dom/Document.h" 46 #include "core/dom/Document.h"
47 #include "core/fetch/AccessControlStatus.h"
48 #include "core/frame/LocalDOMWindow.h" 47 #include "core/frame/LocalDOMWindow.h"
49 #include "core/frame/LocalFrame.h" 48 #include "core/frame/LocalFrame.h"
50 #include "core/frame/csp/ContentSecurityPolicy.h" 49 #include "core/frame/csp/ContentSecurityPolicy.h"
51 #include "core/inspector/ConsoleMessage.h" 50 #include "core/inspector/ConsoleMessage.h"
52 #include "core/inspector/MainThreadDebugger.h" 51 #include "core/inspector/MainThreadDebugger.h"
53 #include "core/workers/WorkerGlobalScope.h" 52 #include "core/workers/WorkerGlobalScope.h"
54 #include "platform/EventDispatchForbiddenScope.h" 53 #include "platform/EventDispatchForbiddenScope.h"
55 #include "platform/RuntimeEnabledFeatures.h" 54 #include "platform/RuntimeEnabledFeatures.h"
56 #include "platform/instrumentation/tracing/TraceEvent.h" 55 #include "platform/instrumentation/tracing/TraceEvent.h"
56 #include "platform/loader/fetch/AccessControlStatus.h"
57 #include "public/platform/Platform.h" 57 #include "public/platform/Platform.h"
58 #include "public/platform/WebScheduler.h" 58 #include "public/platform/WebScheduler.h"
59 #include "public/platform/WebThread.h" 59 #include "public/platform/WebThread.h"
60 #include "wtf/AddressSanitizer.h" 60 #include "wtf/AddressSanitizer.h"
61 #include "wtf/PtrUtil.h" 61 #include "wtf/PtrUtil.h"
62 #include "wtf/RefPtr.h" 62 #include "wtf/RefPtr.h"
63 #include "wtf/text/WTFString.h" 63 #include "wtf/text/WTFString.h"
64 #include "wtf/typed_arrays/ArrayBufferContents.h" 64 #include "wtf/typed_arrays/ArrayBufferContents.h"
65 #include <memory> 65 #include <memory>
66 #include <v8-debug.h> 66 #include <v8-debug.h>
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 v8::Isolate::kMessageLog); 522 v8::Isolate::kMessageLog);
523 isolate->SetFatalErrorHandler(reportFatalErrorInWorker); 523 isolate->SetFatalErrorHandler(reportFatalErrorInWorker);
524 524
525 uint32_t here; 525 uint32_t here;
526 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here) - 526 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here) -
527 kWorkerMaxStackSize); 527 kWorkerMaxStackSize);
528 isolate->SetPromiseRejectCallback(promiseRejectHandlerInWorker); 528 isolate->SetPromiseRejectCallback(promiseRejectHandlerInWorker);
529 } 529 }
530 530
531 } // namespace blink 531 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698