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

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

Issue 2154673002: Remove comment about blink::ResourceResponse subclass (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | 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) 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 unsigned short remotePort() const { return m_remotePort; } 281 unsigned short remotePort() const { return m_remotePort; }
282 void setRemotePort(unsigned short value) { m_remotePort = value; } 282 void setRemotePort(unsigned short value) { m_remotePort = value; }
283 283
284 const String& downloadedFilePath() const { return m_downloadedFilePath; } 284 const String& downloadedFilePath() const { return m_downloadedFilePath; }
285 void setDownloadedFilePath(const String&); 285 void setDownloadedFilePath(const String&);
286 286
287 // Extra data associated with this response. 287 // Extra data associated with this response.
288 ExtraData* getExtraData() const { return m_extraData.get(); } 288 ExtraData* getExtraData() const { return m_extraData.get(); }
289 void setExtraData(PassRefPtr<ExtraData> extraData) { m_extraData = extraData ; } 289 void setExtraData(PassRefPtr<ExtraData> extraData) { m_extraData = extraData ; }
290 290
291 // The ResourceResponse subclass may "shadow" this method to provide platfor m-specific memory usage information
292 unsigned memoryUsage() const 291 unsigned memoryUsage() const
293 { 292 {
294 // average size, mostly due to URL and Header Map strings 293 // average size, mostly due to URL and Header Map strings
295 return 1280; 294 return 1280;
296 } 295 }
297 296
298 // This method doesn't compare the all members. 297 // This method doesn't compare the all members.
299 static bool compare(const ResourceResponse&, const ResourceResponse&); 298 static bool compare(const ResourceResponse&, const ResourceResponse&);
300 299
301 private: 300 private:
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 int64_t m_responseTime; 454 int64_t m_responseTime;
456 String m_remoteIPAddress; 455 String m_remoteIPAddress;
457 unsigned short m_remotePort; 456 unsigned short m_remotePort;
458 String m_downloadedFilePath; 457 String m_downloadedFilePath;
459 RefPtr<BlobDataHandle> m_downloadedFileHandle; 458 RefPtr<BlobDataHandle> m_downloadedFileHandle;
460 }; 459 };
461 460
462 } // namespace blink 461 } // namespace blink
463 462
464 #endif // ResourceResponse_h 463 #endif // ResourceResponse_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698