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

Side by Side Diff: Source/platform/blob/BlobData.h

Issue 856073002: Removing unused function BlobData::swapItems() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | Source/platform/blob/BlobData.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 public: 163 public:
164 static PassOwnPtr<BlobData> create(); 164 static PassOwnPtr<BlobData> create();
165 165
166 // Detaches from current thread so that it can be passed to another thread. 166 // Detaches from current thread so that it can be passed to another thread.
167 void detachFromCurrentThread(); 167 void detachFromCurrentThread();
168 168
169 const String& contentType() const { return m_contentType; } 169 const String& contentType() const { return m_contentType; }
170 void setContentType(const String& contentType) { m_contentType = contentType ; } 170 void setContentType(const String& contentType) { m_contentType = contentType ; }
171 171
172 const BlobDataItemList& items() const { return m_items; } 172 const BlobDataItemList& items() const { return m_items; }
173 void swapItems(BlobDataItemList&);
174 173
175 void appendBytes(const void*, size_t length); 174 void appendBytes(const void*, size_t length);
176 void appendData(PassRefPtr<RawData>, long long offset, long long length); 175 void appendData(PassRefPtr<RawData>, long long offset, long long length);
177 void appendFile(const String& path); 176 void appendFile(const String& path);
178 void appendFile(const String& path, long long offset, long long length, doub le expectedModificationTime); 177 void appendFile(const String& path, long long offset, long long length, doub le expectedModificationTime);
179 void appendBlob(PassRefPtr<BlobDataHandle>, long long offset, long long leng th); 178 void appendBlob(PassRefPtr<BlobDataHandle>, long long offset, long long leng th);
180 void appendFileSystemURL(const KURL&, long long offset, long long length, do uble expectedModificationTime); 179 void appendFileSystemURL(const KURL&, long long offset, long long length, do uble expectedModificationTime);
181 void appendText(const String&, bool normalizeLineEndingsToNative); 180 void appendText(const String&, bool normalizeLineEndingsToNative);
182 181
183 // The value of the size property for a Blob who has this data. 182 // The value of the size property for a Blob who has this data.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 BlobDataHandle(const String& uuid, const String& type, long long size); 229 BlobDataHandle(const String& uuid, const String& type, long long size);
231 230
232 const String m_uuid; 231 const String m_uuid;
233 const String m_type; 232 const String m_type;
234 const long long m_size; 233 const long long m_size;
235 }; 234 };
236 235
237 } // namespace blink 236 } // namespace blink
238 237
239 #endif // BlobData_h 238 #endif // BlobData_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/blob/BlobData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698