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

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

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 10 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 "modules/fetch/RequestInit.h" 5 #include "modules/fetch/RequestInit.h"
6 6
7 #include "bindings/core/v8/Dictionary.h" 7 #include "bindings/core/v8/Dictionary.h"
8 #include "bindings/core/v8/V8ArrayBuffer.h" 8 #include "bindings/core/v8/V8ArrayBuffer.h"
9 #include "bindings/core/v8/V8ArrayBufferView.h" 9 #include "bindings/core/v8/V8ArrayBufferView.h"
10 #include "bindings/core/v8/V8Binding.h" 10 #include "bindings/core/v8/V8Binding.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 PasswordCredential* credential = V8PasswordCredential::toImpl(v8::Local< v8::Object>::Cast(v8Body)); 92 PasswordCredential* credential = V8PasswordCredential::toImpl(v8::Local< v8::Object>::Cast(v8Body));
93 93
94 RefPtr<EncodedFormData> encodedData = credential->encodeFormData(content Type); 94 RefPtr<EncodedFormData> encodedData = credential->encodeFormData(content Type);
95 body = FetchFormDataConsumerHandle::create(context, encodedData.release( )); 95 body = FetchFormDataConsumerHandle::create(context, encodedData.release( ));
96 } else if (v8Body->IsString()) { 96 } else if (v8Body->IsString()) {
97 contentType = "text/plain;charset=UTF-8"; 97 contentType = "text/plain;charset=UTF-8";
98 body = FetchFormDataConsumerHandle::create(toUSVString(isolate, v8Body, exceptionState)); 98 body = FetchFormDataConsumerHandle::create(toUSVString(isolate, v8Body, exceptionState));
99 } 99 }
100 } 100 }
101 101
102 } 102 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/RequestInit.h ('k') | third_party/WebKit/Source/modules/fetch/Response.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698