Searched refs:post_data (Results 1 - 25 of 51) sorted by relevance

123

/external/chromium_org/content/browser/tracing/
H A Dtrace_uploader.cc107 std::string post_data; local
110 &post_data);
116 post_data));
129 std::string* post_data) {
131 post_data);
133 kMultipartBoundary, "", post_data);
135 "", post_data);
137 "", post_data);
140 "", post_data);
142 AddTraceFile(trace_filename, trace_contents, post_data);
127 SetupMultipart(const std::string& trace_filename, const std::string& trace_contents, std::string* post_data) argument
147 AddTraceFile(const std::string& trace_filename, const std::string& trace_contents, std::string* post_data) argument
196 CreateAndStartURLFetcher(const std::string& post_data) argument
[all...]
H A Dtrace_uploader.h63 std::string* post_data);
66 std::string* post_data);
72 void CreateAndStartURLFetcher(const std::string& post_data);
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dincident_report_uploader_impl.cc37 std::string post_data; local
38 if (!report.SerializeToString(&post_data))
41 callback, request_context_getter, post_data));
47 const std::string& post_data)
54 UMA_HISTOGRAM_COUNTS("SBIRS.ReportPayloadSize", post_data.size());
58 url_fetcher_->SetUploadData("application/octet-stream", post_data);
44 IncidentReportUploaderImpl( const OnResultCallback& callback, const scoped_refptr<net::URLRequestContextGetter>& request_context_getter, const std::string& post_data) argument
H A Dincident_report_uploader_impl.h51 const std::string& post_data);
/external/chromium_org/chrome/browser/media/
H A Dwebrtc_log_uploader.cc39 // Adds the header section for a gzip file to the multipart |post_data|.
40 void AddMultipartFileContentHeader(std::string* post_data, argument
42 post_data->append("--");
43 post_data->append(kMultipartBoundary);
44 post_data->append("\r\nContent-Disposition: form-data; name=\"");
45 post_data->append(content_name);
46 post_data->append("\"; filename=\"");
47 post_data->append(content_name + ".gz");
48 post_data->append("\"\r\nContent-Type: application/gzip\r\n\r\n");
51 // Adds |compressed_log| to |post_data|
52 AddLogData(std::string* post_data, const std::vector<uint8>& compressed_log) argument
61 AddRtpDumpData(std::string* post_data, const std::string& name, const std::string& dump_data) argument
216 SetupMultipart( std::string* post_data, const std::vector<uint8>& compressed_log, const base::FilePath& incoming_rtp_dump, const base::FilePath& outgoing_rtp_dump, const std::map<std::string, std::string>& meta_data) argument
327 CreateAndStartURLFetcher( const WebRtcLogUploadDoneData& upload_done_data, scoped_ptr<std::string> post_data) argument
[all...]
H A Dwebrtc_log_uploader.h89 void OverrideUploadWithBufferForTesting(std::string* post_data) { argument
90 DCHECK((post_data && !post_data_) || (!post_data && post_data_));
91 post_data_ = post_data;
102 void SetupMultipart(std::string* post_data,
117 scoped_ptr<std::string> post_data);
H A Dwebrtc_log_uploader_unittest.cc132 void VerifyRtpDumpInMultipart(const std::string& post_data, argument
136 base::SplitStringUsingSubstr(post_data, "\r\n", &lines);
231 std::string post_data; local
232 webrtc_log_uploader->OverrideUploadWithBufferForTesting(&post_data);
263 VerifyRtpDumpInMultipart(post_data, "rtpdump_recv", incoming_dump_content);
264 VerifyRtpDumpInMultipart(post_data, "rtpdump_send", outgoing_dump_content);
/external/chromium_org/net/test/spawned_test_server/
H A Dspawner_communicator.h88 // the |command|. If |post_data| is empty, HTTP GET will be used to send
89 // |command|. If |post_data| is non-empty, performs an HTTP POST.
92 const std::string& post_data,
98 const std::string& post_data,
H A Dspawner_communicator.cc145 const std::string& post_data,
159 base::Unretained(this), command, post_data, result_code, data_received));
165 const std::string& post_data,
185 if (post_data.empty()) {
190 UploadOwnedBytesElementReader::CreateWithString(post_data));
143 SendCommandAndWaitForResult( const std::string& command, const std::string& post_data, int* result_code, std::string* data_received) argument
163 SendCommandAndWaitForResultOnIOThread( const std::string& command, const std::string& post_data, int* result_code, std::string* data_received) argument
/external/chromium_org/chrome/service/cloud_print/
H A Dcloud_print_connector.cc349 const std::string& post_data,
354 type, url, this, max_retries, mime_type, post_data, std::string());
364 std::string post_data; local
366 std::string(), &post_data);
367 net::AddMultipartFinalDelimiterForUpload(mime_boundary, &post_data);
373 post_data, std::string());
609 std::string post_data; local
612 settings_.proxy_id(), mime_boundary, std::string(), &post_data);
614 info.printer_name, mime_boundary, std::string(), &post_data);
616 info.printer_description, mime_boundary, std::string(), &post_data);
344 StartPostRequest( CloudPrintURLFetcher::RequestType type, const GURL& url, int max_retries, const std::string& mime_type, const std::string& post_data, ResponseHandler handler) argument
[all...]
H A Dcloud_print_url_fetcher.cc160 const std::string& post_data,
163 post_data_mime_type, post_data, additional_headers);
258 const std::string& post_data,
276 request_->SetUploadData(post_data_mime_type, post_data);
277 ReportUploadSize(type_, post_data.size());
154 StartPostRequest( RequestType type, const GURL& url, Delegate* delegate, int max_retries, const std::string& post_data_mime_type, const std::string& post_data, const std::string& additional_headers) argument
251 StartRequestHelper( RequestType type, const GURL& url, net::URLFetcher::RequestType request_type, Delegate* delegate, int max_retries, const std::string& post_data_mime_type, const std::string& post_data, const std::string& additional_headers) argument
H A Dcloud_print_url_fetcher.h133 const std::string& post_data,
154 const std::string& post_data,
H A Dprinter_job_handler.cc684 std::string post_data; local
698 std::string(), &post_data);
702 caps_and_defaults.caps_mime_type, &post_data);
705 caps_and_defaults.defaults_mime_type, &post_data);
707 caps_hash, mime_boundary, std::string(), &post_data);
717 post_data += GetPostDataForPrinterInfo(printer_info, mime_boundary);
722 cp_tag_wildcard, mime_boundary, std::string(), &post_data);
736 printer_info.printer_name, mime_boundary, std::string(), &post_data);
741 std::string(), &post_data);
746 std::string(), &post_data);
[all...]
/external/chromium_org/chrome/utility/importer/
H A Dbookmark_html_reader_unittest.cc61 base::string16 post_data; local
66 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
71 EXPECT_EQ(base::string16(), post_data); local
77 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
82 EXPECT_EQ(base::string16(), post_data); local
87 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
92 EXPECT_EQ(base::string16(), post_data); local
98 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
103 EXPECT_EQ(base::string16(), post_data); local
112 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
128 EXPECT_EQ(base::string16(), post_data); local
[all...]
H A Dbookmark_html_reader.cc143 base::string16 post_data; local
150 &add_date, &post_data) ||
157 post_data.empty() &&
311 base::string16* post_data) {
325 post_data->clear();
384 base::OnStringConversionError::SKIP, post_data);
385 *post_data = net::UnescapeForHTML(*post_data);
304 ParseBookmarkFromLine(const std::string& line, const std::string& charset, base::string16* title, GURL* url, GURL* favicon, base::string16* shortcut, base::Time* add_date, base::string16* post_data) argument
H A Dbookmark_html_reader.h70 // if there is a favicon given. |post_data| is set for POST base keywords to
79 base::string16* post_data);
/external/chromium_org/chrome/browser/safe_browsing/
H A Dping_manager.cc67 const std::string& post_data) {
73 post_data.empty() ? net::URLFetcher::GET : net::URLFetcher::POST,
77 if (!post_data.empty())
78 report->SetUploadData("text/plain", post_data);
61 ReportSafeBrowsingHit( const GURL& malicious_url, const GURL& page_url, const GURL& referrer_url, bool is_subresource, SBThreatType threat_type, const std::string& post_data) argument
H A Dui_manager.h118 // to the server. Can only be called on UI thread. If |post_data| is
125 const std::string& post_data);
146 const std::string& post_data);
H A Dping_manager.h46 const std::string& post_data);
H A Dui_manager.cc173 std::string() /* post_data */);
189 const std::string& post_data) {
198 threat_type, post_data));
217 const std::string& post_data) {
231 threat_type, post_data);
183 ReportSafeBrowsingHit( const GURL& malicious_url, const GURL& page_url, const GURL& referrer_url, bool is_subresource, SBThreatType threat_type, const std::string& post_data) argument
211 ReportSafeBrowsingHitOnIOThread( const GURL& malicious_url, const GURL& page_url, const GURL& referrer_url, bool is_subresource, SBThreatType threat_type, const std::string& post_data) argument
/external/chromium_org/chrome/browser/resources/chromeos/
H A Dmobile_setup_portal.js127 if (deviceInfo.post_data && deviceInfo.post_data.length)
128 postData = '&post_data=' + encodeURIComponent(deviceInfo.post_data);
/external/chromium_org/net/base/
H A Dmime_util.h164 std::string* post_data);
169 std::string* post_data);
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_navigator_browsertest.h55 const std::string& post_data,
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftmac.c587 Handle post_data; local
600 post_data = Get1Resource( TTAG_POST, res_id++ );
601 if ( post_data == NULL )
604 code = (*post_data)[0];
614 total_size += GetHandleSize( post_data ) - 2;
639 post_data = Get1Resource( TTAG_POST, res_id++ );
640 if ( post_data == NULL )
643 post_size = (FT_ULong)GetHandleSize( post_data ) - 2;
644 code = (*post_data)[0];
676 ft_memcpy( p, *post_data
[all...]
/external/chromium_org/chrome/common/cloud_print/
H A Dcloud_print_helpers.cc226 std::string post_data; local
239 std::string(), &post_data);
245 mime_boundary, std::string(), &post_data);
246 return post_data;

Completed in 1999 milliseconds

123