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

Side by Side Diff: telemetry/third_party/web-page-replay/third_party/dns/rdata.py

Issue 2210063003: Rename third_party/webpagereplay to third_party/web-page-replay (Closed) Base URL: https://github.com/catapult-project/catapult@master
Patch Set: Created 4 years, 4 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 (C) 2001-2007, 2009, 2010 Nominum, Inc. 1 # Copyright (C) 2001-2007, 2009, 2010 Nominum, Inc.
2 # 2 #
3 # Permission to use, copy, modify, and distribute this software and its 3 # Permission to use, copy, modify, and distribute this software and its
4 # documentation for any purpose with or without fee is hereby granted, 4 # documentation for any purpose with or without fee is hereby granted,
5 # provided that the above copyright notice and this permission notice 5 # provided that the above copyright notice and this permission notice
6 # appear in all copies. 6 # appear in all copies.
7 # 7 #
8 # THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES 8 # THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES
9 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR 10 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 @param current: The offet in wire of the beginning of the rdata. 447 @param current: The offet in wire of the beginning of the rdata.
448 @type current: int 448 @type current: int
449 @param rdlen: The length of the wire-format rdata 449 @param rdlen: The length of the wire-format rdata
450 @type rdlen: int 450 @type rdlen: int
451 @param origin: The origin to use for relative names 451 @param origin: The origin to use for relative names
452 @type origin: dns.name.Name 452 @type origin: dns.name.Name
453 @rtype: dns.rdata.Rdata instance""" 453 @rtype: dns.rdata.Rdata instance"""
454 454
455 cls = get_rdata_class(rdclass, rdtype) 455 cls = get_rdata_class(rdclass, rdtype)
456 return cls.from_wire(rdclass, rdtype, wire, current, rdlen, origin) 456 return cls.from_wire(rdclass, rdtype, wire, current, rdlen, origin)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698