Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginHttpRequest.h

Issue 11013110: Cleanup (Closed)
Patch Set: Whole cleanup + comments addressed Created July 23, 2013, 11:34 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginHttpRequest.h
===================================================================
deleted file mode 100644
--- a/src/plugin/PluginHttpRequest.h
+++ /dev/null
@@ -1,48 +0,0 @@
-#ifndef _PLUGIN_HTTP_REQUEST_H_
-#define _PLUGIN_HTTP_REQUEST_H_
-
-
-class CPluginChecksum;
-class CPluginIniFile;
-
-class CPluginHttpRequest
-{
-
-public:
-
- CPluginHttpRequest(const CString& script, bool addChecksum=true);
- ~CPluginHttpRequest();
-
- bool Send(bool checkResponse=true);
-
- void AddPluginId();
- void AddOsInfo();
-
- void Add(const CString& arg, const CString& value, bool addToChecksum=true);
- void Add(const CString& arg, unsigned int value, bool addToChecksum=true);
-
- CString GetUrl();
- CStringA GetResponseText() const;
- const std::auto_ptr<CPluginIniFile>& GetResponseFile() const;
- bool IsValidResponse() const;
-
- static CString GetStandardUrl(const CString& script);
-
- static BOOL GetProxySettings(CString& proxyName, CString& proxyBypass);
-
- static bool SendHttpRequest(LPCWSTR server, LPCWSTR file, CStringA* response, WORD nServerPort);
-
-protected:
-
- CString m_url;
- CString m_urlPrefix;
- CString m_script;
- CStringA m_responseText;
- bool m_addChecksum;
-
- std::auto_ptr<CPluginChecksum> m_checksum;
- std::auto_ptr<CPluginIniFile> m_responseFile;
-};
-
-
-#endif // _PLUGIN_HTTP_REQUEST_H_

Powered by Google App Engine
This is Rietveld