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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/RequestInit.cpp

Issue 1541013002: Remove config.h inclusion from third_party/WebKit/Source/modules/[a-i]*/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h"
6 #include "modules/fetch/RequestInit.h" 5 #include "modules/fetch/RequestInit.h"
7 6
8 #include "bindings/core/v8/Dictionary.h" 7 #include "bindings/core/v8/Dictionary.h"
9 #include "bindings/core/v8/V8ArrayBuffer.h" 8 #include "bindings/core/v8/V8ArrayBuffer.h"
10 #include "bindings/core/v8/V8ArrayBufferView.h" 9 #include "bindings/core/v8/V8ArrayBufferView.h"
11 #include "bindings/core/v8/V8Binding.h" 10 #include "bindings/core/v8/V8Binding.h"
12 #include "bindings/core/v8/V8Blob.h" 11 #include "bindings/core/v8/V8Blob.h"
13 #include "bindings/core/v8/V8FormData.h" 12 #include "bindings/core/v8/V8FormData.h"
14 #include "bindings/core/v8/V8URLSearchParams.h" 13 #include "bindings/core/v8/V8URLSearchParams.h"
15 #include "bindings/modules/v8/V8PasswordCredential.h" 14 #include "bindings/modules/v8/V8PasswordCredential.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 93
95 RefPtr<EncodedFormData> encodedData = credential->encodeFormData(content Type); 94 RefPtr<EncodedFormData> encodedData = credential->encodeFormData(content Type);
96 body = FetchFormDataConsumerHandle::create(context, encodedData.release( )); 95 body = FetchFormDataConsumerHandle::create(context, encodedData.release( ));
97 } else if (v8Body->IsString()) { 96 } else if (v8Body->IsString()) {
98 contentType = "text/plain;charset=UTF-8"; 97 contentType = "text/plain;charset=UTF-8";
99 body = FetchFormDataConsumerHandle::create(toUSVString(isolate, v8Body, exceptionState)); 98 body = FetchFormDataConsumerHandle::create(toUSVString(isolate, v8Body, exceptionState));
100 } 99 }
101 } 100 }
102 101
103 } 102 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Request.cpp ('k') | third_party/WebKit/Source/modules/fetch/RequestTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698