Searched defs:body (Results 251 - 275 of 298) sorted by last modified time

<<1112

/external/chromium_org/content/browser/appcache/
H A Dappcache_url_request_job_unittest.cc297 scoped_refptr<IOBuffer> body(new WrappedIOBuffer(kHttpBasicBody));
300 MakeHttpResponseInfo(raw_headers), body.get(), strlen(kHttpBasicBody));
304 IOBuffer* body, int body_len) {
305 DCHECK(body);
306 scoped_refptr<IOBuffer> body_ref(body);
653 scoped_refptr<IOBuffer> body(new IOBuffer(kBlockSize * 3));
654 char* p = body->data();
659 MakeHttpResponseInfo(raw_headers), body.get(), kBlockSize * 3);
303 WriteResponse(net::HttpResponseInfo* head, IOBuffer* body, int body_len) argument
/external/chromium_org/content/browser/download/
H A Ddownload_browsertest.cc541 const std::string& body,
547 response->set_content(body);
553 // HTTP 200 status code, a Content-Type header and a body.
557 const std::string& body) {
559 &HandleRequestAndSendBasicResponse, relative_url, content_type, body);
1810 // The content body is empty. Make sure this case is handled properly and we
538 HandleRequestAndSendBasicResponse( const std::string& relative_url, const std::string& content_type, const std::string& body, const net::test_server::HttpRequest& request) argument
554 CreateBasicResponseHandler( const std::string& relative_url, const std::string& content_type, const std::string& body) argument
H A Ddownload_manager_impl.cc63 const std::string& body = params->post_body(); local
65 net::UploadOwnedBytesElementReader::CreateWithString(body));
70 // The POST in this case does not have an actual body, and only works
/external/chromium_org/content/browser/loader/
H A Dresource_dispatcher_host_impl.cc367 ResourceRequestBody* body,
370 for (size_t i = 0; i < body->elements()->size(); ++i) {
371 const ResourceRequestBody::Element& element = (*body->elements())[i];
380 // upload completion. The |body| takes ownership of |handle|.
382 body->SetUserData(key, handle.release());
366 AttachRequestBodyBlobDataHandles( ResourceRequestBody* body, storage::BlobStorageContext* blob_context) argument
H A Dupload_data_stream_builder.cc92 ResourceRequestBody* body,
98 for (size_t i = 0; i < body->elements()->size(); ++i) {
99 const ResourceRequestBody::Element& element = (*body->elements())[i];
111 element_readers.push_back(new BytesElementReader(body, element));
115 new FileElementReader(body, file_task_runner, element));
137 new net::UploadDataStream(element_readers.Pass(), body->identifier()));
91 Build( ResourceRequestBody* body, BlobStorageContext* blob_context, storage::FileSystemContext* file_system_context, base::TaskRunner* file_task_runner) argument
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_browsertest.cc123 void ReadResponseBody(std::string* body, argument
127 *body = std::string(blob_data_handle->data()->items()[0].bytes(),
193 LongLivedResourceInterceptor(const std::string& body) argument
194 : body_(body) {}
709 std::string body; local
712 &body, base::Owned(blob_data_handle.release())));
713 EXPECT_EQ("This resource is gone. Gone, gone, gone.", body);
H A Dservice_worker_cache_storage.cc283 std::string body; local
284 base::ReadFileToString(index_path, &body);
290 body));
H A Dservice_worker_controllee_request_handler.cc27 scoped_refptr<ResourceRequestBody> body)
34 body_(body),
22 ServiceWorkerControlleeRequestHandler( base::WeakPtr<ServiceWorkerContextCore> context, base::WeakPtr<ServiceWorkerProviderHost> provider_host, base::WeakPtr<storage::BlobStorageContext> blob_storage_context, ResourceType resource_type, scoped_refptr<ResourceRequestBody> body) argument
H A Dservice_worker_job_unittest.cc851 IOBuffer* body, int length) {
869 writer->WriteData(body, length,
877 const std::string& body) {
878 scoped_refptr<IOBuffer> body_buffer(new WrappedIOBuffer(body.data()));
881 WriteResponse(storage, id, headers, body_buffer.get(), body.length());
848 WriteResponse( ServiceWorkerStorage* storage, int64 id, const std::string& headers, IOBuffer* body, int length) argument
875 WriteStringResponse( ServiceWorkerStorage* storage, int64 id, const std::string& body) argument
H A Dservice_worker_provider_host.cc150 scoped_refptr<ResourceRequestBody> body) {
160 context_, AsWeakPtr(), blob_storage_context, resource_type, body));
147 CreateRequestHandler( ResourceType resource_type, base::WeakPtr<storage::BlobStorageContext> blob_storage_context, scoped_refptr<ResourceRequestBody> body) argument
H A Dservice_worker_request_handler.cc64 scoped_refptr<ResourceRequestBody> body) {
88 resource_type, blob_storage_context->AsWeakPtr(), body));
56 InitializeHandler( net::URLRequest* request, ServiceWorkerContextWrapper* context_wrapper, storage::BlobStorageContext* blob_storage_context, int process_id, int provider_id, bool skip_service_worker, ResourceType resource_type, scoped_refptr<ResourceRequestBody> body) argument
H A Dservice_worker_storage_unittest.cc96 IOBuffer* body, int length) {
114 writer->WriteData(body, length, base::Bind(&OnIOComplete, &rv));
122 const std::string& body) {
123 scoped_refptr<IOBuffer> body_buffer(new WrappedIOBuffer(body.data()));
124 WriteResponse(storage, id, headers, body_buffer.get(), body.length());
93 WriteResponse( ServiceWorkerStorage* storage, int64 id, const std::string& headers, IOBuffer* body, int length) argument
119 WriteStringResponse( ServiceWorkerStorage* storage, int64 id, const std::string& headers, const std::string& body) argument
H A Dservice_worker_url_request_job.cc38 scoped_refptr<ResourceRequestBody> body)
44 body_(body),
33 ServiceWorkerURLRequestJob( net::URLRequest* request, net::NetworkDelegate* network_delegate, base::WeakPtr<ServiceWorkerProviderHost> provider_host, base::WeakPtr<storage::BlobStorageContext> blob_storage_context, scoped_refptr<ResourceRequestBody> body) argument
/external/chromium_org/content/child/npapi/
H A Dplugin_host.cc210 std::vector<char>* body) {
283 // Finished headers, now get body
286 size_t previous_size = body->size();
288 body->resize(previous_size + new_body_size);
289 if (!body->empty())
290 memcpy(&body->front() + previous_size, start, new_body_size);
206 SetPostData(const char* buf, uint32 length, std::vector<std::string>* names, std::vector<std::string>* values, std::vector<char>* body) argument
H A Dplugin_url_fetcher.cc123 std::vector<char> body; local
128 PluginHost::SetPostData(buf, len, &names, &values, &body);
149 if (!body.empty()) {
152 request_body->AppendBytes(&body[0], body.size());
/external/chromium_org/content/public/common/
H A Dshow_desktop_notification_params.h25 base::string16 body; member in struct:content::ShowDesktopNotificationHostMsgParams
/external/chromium_org/content/renderer/accessibility/
H A Drenderer_accessibility_browsertest.cc93 "<body>"
100 "</body>";
233 "<body>"
238 "</body>";
305 "<body>"
307 "</body>";
357 "<body>"
364 "</body>";
409 "<body>"
416 "</body>";
479 WebAXObject body = root_obj.childAt(0); local
[all...]
/external/chromium_org/content/renderer/fetchers/
H A Dresource_fetcher_impl.cc53 void ResourceFetcherImpl::SetBody(const std::string& body) { argument
59 web_http_body.appendData(blink::WebData(body));
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/
H A Dcontent.js48 if ((window == window.top) && document.body && !document.body.onresize) {
49 document.body.onresize = function(event) {
/external/chromium_org/chrome/test/chromedriver/server/
H A Dhttp_handler.cc682 std::string body; local
685 &body);
688 response->SetBody(body, "application/json; charset=utf-8");
H A Dhttp_handler_unittest.cc44 request.data = "body";
72 base::DictionaryValue body; local
73 body.SetInteger("status", kOk);
74 body.SetInteger("value", 1);
75 body.SetString("sessionId", "session_id");
77 base::JSONWriter::Write(&body, &json);
78 ASSERT_EQ(json, response.body());
117 base::DictionaryValue body; local
118 body.SetInteger("status", kOk);
119 body
[all...]
/external/chromium_org/cloud_print/gcp20/prototype/
H A Dprivet_http_server.cc148 "TODO: Message should be in header, not in the body!",
289 const std::string& body,
304 delegate_->CreateJob(body, &job_id, &expires_in,
287 ProcessCreateJob( const GURL& url, const std::string& body, net::HttpStatusCode* status_code) const argument
/external/chromium_org/components/component_updater/test/
H A Durl_request_post_interceptor.h50 // Intercepts requests to a file path, counts them, and captures the body of
67 // Sets an expection for the body of the POST request and optionally,
70 // response body is served. If |response_code| is provided, then an empty
71 // response body with that response code is returned.
103 ExpectationResponse(int code, const std::string& body) argument
104 : response_code(code), response_body(body) {}
/external/chromium_org/chrome/browser/notifications/
H A Dnotification.cc10 const base::string16& body,
18 body,
33 const base::string16& body,
44 body,
7 Notification(const GURL& origin_url, const GURL& icon_url, const base::string16& title, const base::string16& body, blink::WebTextDirection dir, const base::string16& display_source, const base::string16& replace_id, NotificationDelegate* delegate) argument
29 Notification( message_center::NotificationType type, const GURL& origin_url, const base::string16& title, const base::string16& body, const gfx::Image& icon, blink::WebTextDirection dir, const message_center::NotifierId& notifier_id, const base::string16& display_source, const base::string16& replace_id, const message_center::RichNotificationData& rich_notification_data, NotificationDelegate* delegate) argument
H A Dnotification_browsertest.cc140 const char* body,
224 const char* body,
228 icon, title, body, replace_id);
219 CreateNotification( Browser* browser, bool wait_for_new_balloon, const char* icon, const char* title, const char* body, const char* replace_id) argument

Completed in 425 milliseconds

<<1112