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

Side by Side Diff: third_party/WebKit/Source/platform/network/ResourceResponse.h

Issue 2521503002: Rename ResourceResponse::addToEncodedDataSize() to setEncodedDataSize() (Closed)
Patch Set: fix Created 4 years, 1 month 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 /* 1 /*
2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 321
322 const AtomicString& remoteIPAddress() const { return m_remoteIPAddress; } 322 const AtomicString& remoteIPAddress() const { return m_remoteIPAddress; }
323 void setRemoteIPAddress(const AtomicString& value) { 323 void setRemoteIPAddress(const AtomicString& value) {
324 m_remoteIPAddress = value; 324 m_remoteIPAddress = value;
325 } 325 }
326 326
327 unsigned short remotePort() const { return m_remotePort; } 327 unsigned short remotePort() const { return m_remotePort; }
328 void setRemotePort(unsigned short value) { m_remotePort = value; } 328 void setRemotePort(unsigned short value) { m_remotePort = value; }
329 329
330 long long encodedDataLength() const { return m_encodedDataLength; } 330 long long encodedDataLength() const { return m_encodedDataLength; }
331 void addToEncodedDataLength(long long value); 331 void setEncodedDataLength(long long value);
332 332
333 long long encodedBodyLength() const { return m_encodedBodyLength; } 333 long long encodedBodyLength() const { return m_encodedBodyLength; }
334 void addToEncodedBodyLength(long long value); 334 void addToEncodedBodyLength(long long value);
335 335
336 long long decodedBodyLength() const { return m_decodedBodyLength; } 336 long long decodedBodyLength() const { return m_decodedBodyLength; }
337 void addToDecodedBodyLength(long long value); 337 void addToDecodedBodyLength(long long value);
338 338
339 const String& downloadedFilePath() const { return m_downloadedFilePath; } 339 const String& downloadedFilePath() const { return m_downloadedFilePath; }
340 void setDownloadedFilePath(const String&); 340 void setDownloadedFilePath(const String&);
341 341
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 long long m_encodedDataLength; 544 long long m_encodedDataLength;
545 long long m_encodedBodyLength; 545 long long m_encodedBodyLength;
546 long long m_decodedBodyLength; 546 long long m_decodedBodyLength;
547 String m_downloadedFilePath; 547 String m_downloadedFilePath;
548 RefPtr<BlobDataHandle> m_downloadedFileHandle; 548 RefPtr<BlobDataHandle> m_downloadedFileHandle;
549 }; 549 };
550 550
551 } // namespace blink 551 } // namespace blink
552 552
553 #endif // ResourceResponse_h 553 #endif // ResourceResponse_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698