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

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

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 ScriptExecutionContext* context = getScriptExecutionContext(); 147 ScriptExecutionContext* context = getScriptExecutionContext();
148 KURL url = context->completeURL(urlstring); 148 KURL url = context->completeURL(urlstring);
149 149
150 ExceptionState es(args.GetIsolate()); 150 ExceptionState es(args.GetIsolate());
151 151
152 if (args.Length() >= 3) { 152 if (args.Length() >= 3) {
153 bool async = args[2]->BooleanValue(); 153 bool async = args[2]->BooleanValue();
154 154
155 if (args.Length() >= 4 && !args[3]->IsUndefined()) { 155 if (args.Length() >= 4 && !args[3]->IsUndefined()) {
156 String user = toWebCoreStringWithNullCheck(args[3]); 156 String user = toWebCoreStringWithNullCheck(args[3]);
157 157
158 if (args.Length() >= 5 && !args[4]->IsUndefined()) { 158 if (args.Length() >= 5 && !args[4]->IsUndefined()) {
159 String passwd = toWebCoreStringWithNullCheck(args[4]); 159 String passwd = toWebCoreStringWithNullCheck(args[4]);
160 xmlHttpRequest->open(method, url, async, user, passwd, es); 160 xmlHttpRequest->open(method, url, async, user, passwd, es);
161 } else { 161 } else {
162 xmlHttpRequest->open(method, url, async, user, es); 162 xmlHttpRequest->open(method, url, async, user, es);
163 } 163 }
164 } else { 164 } else {
165 xmlHttpRequest->open(method, url, async, es); 165 xmlHttpRequest->open(method, url, async, es);
166 } 166 }
167 } else { 167 } else {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 ASSERT(arrayBufferView); 217 ASSERT(arrayBufferView);
218 xmlHttpRequest->send(arrayBufferView, es); 218 xmlHttpRequest->send(arrayBufferView, es);
219 } else 219 } else
220 xmlHttpRequest->send(toWebCoreStringWithNullCheck(arg), es); 220 xmlHttpRequest->send(toWebCoreStringWithNullCheck(arg), es);
221 } 221 }
222 222
223 es.throwIfNeeded(); 223 es.throwIfNeeded();
224 } 224 }
225 225
226 } // namespace WebCore 226 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp ('k') | Source/bindings/v8/custom/V8XSLTProcessorCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698