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

Side by Side Diff: Source/platform/network/FormData.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/platform/network/DNS.cpp ('k') | Source/platform/network/FormData.cpp » ('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) 2004, 2006, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 13 matching lines...) Expand all
24 #include "platform/weborigin/KURL.h" 24 #include "platform/weborigin/KURL.h"
25 #include "wtf/Forward.h" 25 #include "wtf/Forward.h"
26 #include "wtf/RefCounted.h" 26 #include "wtf/RefCounted.h"
27 #include "wtf/Vector.h" 27 #include "wtf/Vector.h"
28 #include "wtf/text/WTFString.h" 28 #include "wtf/text/WTFString.h"
29 29
30 namespace WTF{ 30 namespace WTF{
31 class TextEncoding; 31 class TextEncoding;
32 } 32 }
33 33
34 namespace WebCore { 34 namespace blink {
35 35
36 class BlobDataHandle; 36 class BlobDataHandle;
37 37
38 class PLATFORM_EXPORT FormDataElement { 38 class PLATFORM_EXPORT FormDataElement {
39 public: 39 public:
40 FormDataElement() : m_type(data) { } 40 FormDataElement() : m_type(data) { }
41 explicit FormDataElement(const Vector<char>& array) : m_type(data), m_data(a rray) { } 41 explicit FormDataElement(const Vector<char>& array) : m_type(data), m_data(a rray) { }
42 42
43 FormDataElement(const String& filename, long long fileStart, long long fileL ength, double expectedFileModificationTime) : m_type(encodedFile), m_filename(fi lename), m_fileStart(fileStart), m_fileLength(fileLength), m_expectedFileModific ationTime(expectedFileModificationTime) { } 43 FormDataElement(const String& filename, long long fileStart, long long fileL ength, double expectedFileModificationTime) : m_type(encodedFile), m_filename(fi lename), m_fileStart(fileStart), m_fileLength(fileLength), m_expectedFileModific ationTime(expectedFileModificationTime) { }
44 explicit FormDataElement(const String& blobUUID, PassRefPtr<BlobDataHandle> optionalHandle) : m_type(encodedBlob), m_blobUUID(blobUUID), m_optionalBlobDataH andle(optionalHandle) { } 44 explicit FormDataElement(const String& blobUUID, PassRefPtr<BlobDataHandle> optionalHandle) : m_type(encodedBlob), m_blobUUID(blobUUID), m_optionalBlobDataH andle(optionalHandle) { }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 inline bool operator==(const FormData& a, const FormData& b) 154 inline bool operator==(const FormData& a, const FormData& b)
155 { 155 {
156 return a.elements() == b.elements(); 156 return a.elements() == b.elements();
157 } 157 }
158 158
159 inline bool operator!=(const FormData& a, const FormData& b) 159 inline bool operator!=(const FormData& a, const FormData& b)
160 { 160 {
161 return !(a == b); 161 return !(a == b);
162 } 162 }
163 163
164 } // namespace WebCore 164 } // namespace blink
165 165
166 #endif 166 #endif
OLDNEW
« no previous file with comments | « Source/platform/network/DNS.cpp ('k') | Source/platform/network/FormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698