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

Unified Diff: tools/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/AFSDB.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/AFSDB.py
diff --git a/tools/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/AFSDB.py b/tools/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/AFSDB.py
deleted file mode 100644
index e8ca6f5cbbcc69bb49380cd45caaefa5b5222c74..0000000000000000000000000000000000000000
--- a/tools/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/AFSDB.py
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright (C) 2003-2007, 2009, 2010 Nominum, Inc.
-#
-# Permission to use, copy, modify, and distribute this software and its
-# documentation for any purpose with or without fee is hereby granted,
-# provided that the above copyright notice and this permission notice
-# appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
-# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-import dns.rdtypes.mxbase
-
-class AFSDB(dns.rdtypes.mxbase.UncompressedDowncasingMX):
- """AFSDB record
-
- @ivar subtype: the subtype value
- @type subtype: int
- @ivar hostname: the hostname name
- @type hostname: dns.name.Name object"""
-
- # Use the property mechanism to make "subtype" an alias for the
- # "preference" attribute, and "hostname" an alias for the "exchange"
- # attribute.
- #
- # This lets us inherit the UncompressedMX implementation but lets
- # the caller use appropriate attribute names for the rdata type.
- #
- # We probably lose some performance vs. a cut-and-paste
- # implementation, but this way we don't copy code, and that's
- # good.
-
- def get_subtype(self):
- return self.preference
-
- def set_subtype(self, subtype):
- self.preference = subtype
-
- subtype = property(get_subtype, set_subtype)
-
- def get_hostname(self):
- return self.exchange
-
- def set_hostname(self, hostname):
- self.exchange = hostname
-
- hostname = property(get_hostname, set_hostname)

Powered by Google App Engine
This is Rietveld 408576698