Home
last modified time | relevance | path

Searched refs:request_body (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/content/browser/loader/
Dupload_data_stream_builder_unittest.cc61 scoped_refptr<ResourceRequestBody> request_body = new ResourceRequestBody; in TEST() local
70 request_body->AppendBytes(kData, arraysize(kData) - 1); in TEST()
71 request_body->AppendFileRange(base::FilePath(kFilePath), in TEST()
73 request_body->set_identifier(kIdentifier); in TEST()
76 request_body.get(), NULL, NULL, base::MessageLoopProxy::current().get())); in TEST()
79 ASSERT_EQ(request_body->elements()->size(), upload->element_readers().size()); in TEST()
135 scoped_refptr<ResourceRequestBody> request_body(new ResourceRequestBody()); in TEST() local
136 request_body->AppendBytes(upload_element1.bytes(), upload_element1.length()); in TEST()
137 request_body->AppendFileRange(upload_element2.path(), in TEST()
143 UploadDataStreamBuilder::Build(request_body.get(), in TEST()
[all …]
/external/chromium_org/chrome/browser/safe_browsing/
Dtwo_phase_testserver.py38 request_body = self.ReadRequestBody()
39 print 'POST', repr(self.path), repr(request_body)
50 metadata_hash = hashlib.sha1(request_body).hexdigest()
76 request_body = self.ReadRequestBody()
77 print 'PUT', repr(self.path), len(request_body), 'bytes'
88 hashlib.sha1(request_body).hexdigest()))
/external/chromium/net/spdy/
Dspdy_http_stream.cc191 UploadDataStream* request_body, in SendRequest() argument
212 if (request_body) { in SendRequest()
213 if (request_body->size() || request_body->is_chunked()) in SendRequest()
214 request_body_stream_.reset(request_body); in SendRequest()
216 delete request_body; in SendRequest()
Dspdy_http_stream.h50 UploadDataStream* request_body,
/external/chromium/net/http/
Dhttp_basic_stream.cc42 UploadDataStream* request_body, in SendRequest() argument
53 return parser_->SendRequest(request_line_, headers, request_body, response, in SendRequest()
Dhttp_stream.h50 UploadDataStream* request_body,
Dhttp_basic_stream.h48 UploadDataStream* request_body,
Dhttp_stream_parser.h46 UploadDataStream* request_body,
Dhttp_response_body_drainer_unittest.cc81 UploadDataStream* request_body, in SendRequest() argument
Dhttp_stream_parser.cc58 UploadDataStream* request_body, in SendRequest() argument
85 request_body_.reset(request_body); in SendRequest()
/external/chromium_org/webkit/child/
Dweburlloader_impl.cc402 scoped_refptr<ResourceRequestBody> request_body = new ResourceRequestBody; in Start() local
409 request_body->AppendBytes( in Start()
415 request_body->AppendFileRange( in Start()
419 request_body->AppendFileRange( in Start()
429 request_body->AppendFileSystemFileRange( in Start()
437 request_body->AppendBlob(element.blobUUID.utf8()); in Start()
443 request_body->set_identifier(request.httpBody().identifier()); in Start()
444 bridge_->SetRequestBody(request_body.get()); in Start()
Dresource_loader_bridge.h194 virtual void SetRequestBody(ResourceRequestBody* request_body) = 0;
/external/chromium_org/chrome/browser/component_updater/
Dcomponent_updater_utils.cc22 std::string BuildProtocolRequest(const std::string& request_body, in BuildProtocolRequest() argument
68 base::StringAppendF(&request, "%s</request>", request_body.c_str()); in BuildProtocolRequest()
Dcomponent_updater_utils.h44 std::string BuildProtocolRequest(const std::string& request_body,
/external/chromium_org/native_client_sdk/src/examples/demo/drive/
Ddrive.cc97 std::string request_body; member
111 if (params.request_body.size()) { in ReadUrl()
112 url_request.AppendDataToBody(params.request_body.data(), in ReadUrl()
113 params.request_body.size()); in ReadUrl()
285 p.request_body = BuildRequestBody(params); in InsertFile()
/external/chromium_org/content/child/npapi/
Dplugin_url_fetcher.cc131 scoped_refptr<webkit_glue::ResourceRequestBody> request_body = in PluginURLFetcher() local
133 request_body->AppendBytes(&body[0], body.size()); in PluginURLFetcher()
134 bridge_->SetRequestBody(request_body.get()); in PluginURLFetcher()
/external/chromium_org/chrome/browser/component_updater/test/
Durl_request_post_interceptor.cc189 const std::string request_body(reader->bytes()); in MaybeCreateJob() local
193 interceptor->requests_.push_back(request_body); in MaybeCreateJob()
198 if (expectation.first->Match(request_body)) { in MaybeCreateJob()
/external/chromium_org/google_apis/cup/
Dclient_update_protocol.cc202 const base::StringPiece& request_body, in SignRequest() argument
206 DCHECK(!request_body.empty()); in SignRequest()
219 h = Hash(request_body); in SignRequest()
Dclient_update_protocol.h60 const base::StringPiece& request_body,
/external/chromium_org/remoting/host/setup/
Dservice_client.cc110 const std::string& request_body, in MakeChromotingRequest() argument
117 request_->SetUploadData("application/json; charset=UTF-8", request_body); in MakeChromotingRequest()
/external/chromium_org/net/http/
Dhttp_stream_parser.cc958 const UploadDataStream* request_body) { in ShouldMergeRequestHeadersAndBody() argument
959 if (request_body != NULL && in ShouldMergeRequestHeadersAndBody()
961 request_body->IsInMemory() && in ShouldMergeRequestHeadersAndBody()
962 request_body->size() > 0) { in ShouldMergeRequestHeadersAndBody()
963 size_t merged_size = request_headers.size() + request_body->size(); in ShouldMergeRequestHeadersAndBody()
Dhttp_stream_parser.h102 const UploadDataStream* request_body);
/external/chromium_org/content/child/
Dresource_dispatcher.cc76 virtual void SetRequestBody(ResourceRequestBody* request_body) OVERRIDE;
176 ResourceRequestBody* request_body) { in SetRequestBody() argument
178 request_.request_body = request_body; in SetRequestBody()
/external/chromium_org/content/common/
Dresource_messages.h172 request_body)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
Dstandalone.py699 request_body = self.rfile.read(int(content_length))
701 request_array = request_body.split(' ')
703 self._logger.debug('Malformed request body: %r', request_body)

12