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

Unified Diff: third_party/twisted_8_1/twisted/web/woven/flashconduit.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 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: third_party/twisted_8_1/twisted/web/woven/flashconduit.py
diff --git a/third_party/twisted_8_1/twisted/web/woven/flashconduit.py b/third_party/twisted_8_1/twisted/web/woven/flashconduit.py
deleted file mode 100644
index 36e79206caa0d1194494e3910f6e0ff289b07062..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/web/woven/flashconduit.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from twisted.internet.protocol import Factory
-from twisted.protocols.basic import LineReceiver
-from twisted.python import log
-from twisted.web.woven import interfaces
-
-
-class FlashConduit(LineReceiver):
- delimiter = '\0'
- keepalive = 1
- def connectionMade(self):
- print "connection with flash movie opened"
- #self.transport.write("alert('helllllllo')\0")
-
- def connectionLost(self, reason):
- print "connection lost"
- #self.lp.unhookOutputConduit()
-
- def lineReceived(self, line):
- session = self.factory.site.getSession(line)
- self.lp = lp = session.getComponent(interfaces.IWovenLivePage)
- lp.hookupOutputConduit(self)
-
- def writeScript(self, data):
- #print "writing javascript", data
- self.transport.write(data + '\0')
-
- def finish(self):
- pass
-
-
-class FlashConduitFactory(Factory):
- protocol = FlashConduit
-
- def __init__(self, site):
- self.site = site
« no previous file with comments | « third_party/twisted_8_1/twisted/web/woven/dirlist.py ('k') | third_party/twisted_8_1/twisted/web/woven/form.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698