Move totalSize and totalReplied declarations inside functions
Move totalSize and totalReplied declarations inside functions

R=tyoshino@chromium.org

Review URL: https://codereview.appspot.com/141020043
google/pywebsocket,googlearchive/pywebsocket,google/pywebsocket,googlearchive/pywebsocket,google/pywebsocket,googlearchive/pywebsocket,GoogleChromeLabs/pywebsocket3,GoogleChromeLabs/pywebsocket3,GoogleChromeLabs/pywebsocket3