diff options
Diffstat (limited to 'chrome/test/chrome_plugin')
-rw-r--r-- | chrome/test/chrome_plugin/test_chrome_plugin.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/chrome_plugin/test_chrome_plugin.cc b/chrome/test/chrome_plugin/test_chrome_plugin.cc index 50672d0..751a9c2 100644 --- a/chrome/test/chrome_plugin/test_chrome_plugin.cc +++ b/chrome/test/chrome_plugin/test_chrome_plugin.cc @@ -46,7 +46,7 @@ void STDCALL InvokeLaterCallback(void* data) { // ResponseStream: Manages the streaming of the payload data. class ResponseStream : public base::RefCounted<ResponseStream> { -public: + public: ResponseStream(const TestResponsePayload* payload, CPRequest* request); void Init(); @@ -227,13 +227,13 @@ int STDCALL CPR_Read(CPRequest* request, void* buf, uint32 buf_size) { // RequestResponse: manages the retrieval of response data from the host class RequestResponse { -public: + public: explicit RequestResponse(const std::string& raw_headers) : raw_headers_(raw_headers), offset_(0) {} void StartReading(CPRequest* request); void ReadCompleted(CPRequest* request, int bytes_read); -private: + private: std::string raw_headers_; std::string body_; int offset_; |