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

Unified Diff: src/plugin/PluginHttpRequest.h

Issue 11013110: Cleanup (Closed)
Patch Set: More beautification and addressing comments Created July 29, 2013, 12:13 p.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
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld