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

Side by Side Diff: Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp ('k') | Source/core/core.gypi » ('j') | 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) 2008, 2009, 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010 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 25 matching lines...) Expand all
36 #include "V8Blob.h" 36 #include "V8Blob.h"
37 #include "V8Document.h" 37 #include "V8Document.h"
38 #include "V8FormData.h" 38 #include "V8FormData.h"
39 #include "V8HTMLDocument.h" 39 #include "V8HTMLDocument.h"
40 #include "bindings/v8/V8Binding.h" 40 #include "bindings/v8/V8Binding.h"
41 #include "bindings/v8/V8Utilities.h" 41 #include "bindings/v8/V8Utilities.h"
42 #include "bindings/v8/custom/V8ArrayBufferCustom.h" 42 #include "bindings/v8/custom/V8ArrayBufferCustom.h"
43 #include "core/dom/Document.h" 43 #include "core/dom/Document.h"
44 #include "core/inspector/InspectorInstrumentation.h" 44 #include "core/inspector/InspectorInstrumentation.h"
45 #include "core/page/Frame.h" 45 #include "core/page/Frame.h"
46 #include "core/workers/WorkerContext.h" 46 #include "core/workers/WorkerGlobalScope.h"
47 #include "core/xml/XMLHttpRequest.h" 47 #include "core/xml/XMLHttpRequest.h"
48 #include "wtf/ArrayBuffer.h" 48 #include "wtf/ArrayBuffer.h"
49 49
50 namespace WebCore { 50 namespace WebCore {
51 51
52 void V8XMLHttpRequest::constructorCustom(const v8::FunctionCallbackInfo<v8::Valu e>& args) 52 void V8XMLHttpRequest::constructorCustom(const v8::FunctionCallbackInfo<v8::Valu e>& args)
53 { 53 {
54 ScriptExecutionContext* context = getScriptExecutionContext(); 54 ScriptExecutionContext* context = getScriptExecutionContext();
55 55
56 RefPtr<SecurityOrigin> securityOrigin; 56 RefPtr<SecurityOrigin> securityOrigin;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 xmlHttpRequest->send(toWebCoreStringWithNullCheck(arg), ec); 227 xmlHttpRequest->send(toWebCoreStringWithNullCheck(arg), ec);
228 } 228 }
229 229
230 if (!ec) 230 if (!ec)
231 return; 231 return;
232 232
233 setDOMException(ec, args.GetIsolate()); 233 setDOMException(ec, args.GetIsolate());
234 } 234 }
235 235
236 } // namespace WebCore 236 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698