Searched defs:data (Results 401 - 425 of 7161) sorted by path

<<11121314151617181920>>

/external/chromium_org/chrome/browser/local_discovery/
H A Dpwg_raster_converter.cc36 void Init(base::RefCountedMemory* data);
67 void FileHandlers::Init(base::RefCountedMemory* data) { argument
74 if (static_cast<int>(data->size()) !=
75 base::WriteFile(GetPdfPath(), data->front_as<char>(), data->size())) {
100 // All these steps work sequentially, so no data should be accessed
108 void Convert(base::RefCountedMemory* data,
148 base::RefCountedMemory* data,
157 make_scoped_refptr(data)),
248 virtual void Start(base::RefCountedMemory* data,
147 Convert( base::RefCountedMemory* data, const PWGRasterConverter::ResultCallback& callback) argument
266 Start( base::RefCountedMemory* data, const printing::PdfRenderSettings& conversion_settings, const printing::PwgRasterSettings& bitmap_settings, const ResultCallback& callback) argument
[all...]
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Diapps_finder_impl_win_browsertest.cc26 std::string input(reinterpret_cast<const char*>(path.value().data()),
61 void WritePrefFile(const std::string& data) { argument
65 ASSERT_EQ(data.size(),
67 data.data(), data.size()));
134 " <data>%s</data>"
153 " <data>%s</data>"
[all...]
H A Dsafe_media_metadata_parser.cc106 int64 request_id, scoped_ptr<std::string> data,
113 request_id, base::Passed(data.Pass())));
117 int64 request_id, scoped_ptr<std::string> data) {
122 request_id, *data));
105 OnBlobReaderDoneOnUIThread( int64 request_id, scoped_ptr<std::string> data, int64 ) argument
116 FinishRequestBlobBytes( int64 request_id, scoped_ptr<std::string> data) argument
H A Dsupported_image_type_validator.cc53 scoped_ptr<std::string> data,
55 : data_(data.Pass()), callback_(callback) {
59 const std::string& data() { function in class:__anon4253::ImageDecoderDelegateAdapter
120 void SupportedImageTypeValidator::OnFileOpen(scoped_ptr<std::string> data) { argument
122 if (!data.get()) {
129 new ImageDecoderDelegateAdapter(data.Pass(), callback_);
130 decoder_ = new ImageDecoder(adapter, adapter->data(),
52 ImageDecoderDelegateAdapter( scoped_ptr<std::string> data, const storage::CopyOrMoveFileValidator::ResultCallback& callback) argument
/external/chromium_org/chrome/browser/media_galleries/linux/
H A Dmtp_device_task_helper.cc252 const std::string& data,
260 CHECK_LE(base::checked_cast<int>(data.length()), request.buf_len);
261 std::copy(data.begin(), data.end(), request.buf->data());
266 file_info, data.length()));
249 OnDidReadBytes( const MTPDeviceAsyncDelegate::ReadBytesRequest& request, const base::File::Info& file_info, const std::string& data, bool error) const argument
H A Dmtp_read_file_worker.cc22 // Appends |data| to the snapshot file specified by the |snapshot_file_path| on
28 const std::string& data) {
31 base::AppendToFile(snapshot_file_path, data.data(),
32 base::checked_cast<int>(data.size()));
33 return (static_cast<int>(data.size()) == bytes_written) ?
81 const std::string& data,
86 error || (data.size() != snapshot_file_details->BytesToRead()));
100 data),
26 WriteDataChunkIntoSnapshotFileOnFileThread( const base::FilePath& snapshot_file_path, const std::string& data) argument
79 OnDidReadDataChunkFromDeviceFile( scoped_ptr<SnapshotFileDetails> snapshot_file_details, const std::string& data, bool error) argument
/external/chromium_org/chrome/browser/metrics/
H A Dchrome_stability_metrics_provider.cc189 const content::ChildProcessData& data) {
193 if (PluginMetricsProvider::IsPluginProcess(data.process_type))
188 BrowserChildProcessCrashed( const content::ChildProcessData& data) argument
H A Dperf_provider_chromeos.cc38 // collecting further perf data. The current value is 4 MB.
67 // sending perf data.
79 // for collecting and sending perf data.
196 // collecting too much data.
227 // avoid collecting too much data and potentially causing UI latency.
304 // Do not collect further data if we've already collected a substantial amount
305 // of data, as indicated by |kCachedPerfDataProtobufSizeThreshold|.
315 // For privacy reasons, Chrome should only collect perf data if there is no
348 // Fill out a SampledProfile protobuf that will contain the collected data.
359 // Fill out a SampledProfile protobuf that will contain the collected data
368 ParseProtoIfValid( scoped_ptr<WindowedIncognitoObserver> incognito_observer, scoped_ptr<SampledProfile> sampled_profile, const std::vector<uint8>& data) argument
[all...]
H A Dplugin_metrics_provider.cc340 const content::ChildProcessData& data) {
341 const base::string16& child_name = data.name;
344 ChildProcessStats(data.process_type);
350 const content::ChildProcessData& data) {
351 GetChildProcessStats(data).process_launches++;
356 const content::ChildProcessData& data) {
357 GetChildProcessStats(data).process_crashes++;
362 const content::ChildProcessData& data) {
363 GetChildProcessStats(data).instances++;
339 GetChildProcessStats( const content::ChildProcessData& data) argument
349 BrowserChildProcessHostConnected( const content::ChildProcessData& data) argument
355 BrowserChildProcessCrashed( const content::ChildProcessData& data) argument
361 BrowserChildProcessInstanceCreated( const content::ChildProcessData& data) argument
/external/chromium_org/chrome/browser/notifications/
H A Dmessage_center_notifications_browsertest.cc126 message_center::RichNotificationData data; local
139 data,
/external/chromium_org/chrome/browser/password_manager/
H A Dchrome_password_manager_client.cc405 // TODO(gcasto): Validate data in PasswordForm.
455 autofill::PasswordFormFillData* data) {
456 driver_.FillPasswordForm(*data);
454 CommitFillPasswordForm( autofill::PasswordFormFillData* data) argument
H A Dnative_backend_gnome_x.cc156 // the original signon_realm saved into the result's original_signon_realm data
165 GnomeKeyringFound* data = static_cast<GnomeKeyringFound*>(element->data); local
166 GnomeKeyringAttributeList* attrs = data->attributes;
184 if (data->secret) {
185 form->password_value = UTF8ToUTF16(data->secret);
211 // it's only used to crowd source data collection it doesn't matter that much
302 static void OnOperationDone(GnomeKeyringResult result, gpointer data);
305 gpointer data);
334 this, // data
505 OnOperationDone(GnomeKeyringResult result, gpointer data) argument
512 OnOperationGetList(GnomeKeyringResult result, GList* list, gpointer data) argument
[all...]
H A Dnative_backend_gnome_x_unittest.cc108 gpointer data,
145 // GnomeKeyringResult, data
146 callback(GNOME_KEYRING_RESULT_IO_ERROR, data);
150 // GnomeKeyringResult, data
151 callback(GNOME_KEYRING_RESULT_OK, data);
158 gpointer data,
188 // GnomeKeyringResult, data
190 : GNOME_KEYRING_RESULT_NO_MATCH, data);
198 gpointer data,
245 // GnomeKeyringResult, GList*, data
102 mock_gnome_keyring_store_password( const GnomeKeyringPasswordSchema* schema, const gchar* keyring, const gchar* display_name, const gchar* password, GnomeKeyringOperationDoneCallback callback, gpointer data, GDestroyNotify destroy_data, ...) argument
155 mock_gnome_keyring_delete_password( const GnomeKeyringPasswordSchema* schema, GnomeKeyringOperationDoneCallback callback, gpointer data, GDestroyNotify destroy_data, ...) argument
194 mock_gnome_keyring_find_items( GnomeKeyringItemType type, GnomeKeyringAttributeList* attributes, GnomeKeyringOperationGetListCallback callback, gpointer data, GDestroyNotify destroy_data) argument
[all...]
H A Dpassword_store_mac_unittest.cc166 // Struct used for creation of PasswordForms from static arrays of data.
222 // Ensures that the data in |forms| match |expectations|, causing test failures
379 const PasswordFormData data; member in struct:TestDataAndExpectation
430 CreatePasswordFormFromData(test_data[i].data));
553 PasswordFormData data; member in struct:TestDataAndExpectation
587 CreatePasswordFormFromData(test_data[i].data));
600 PasswordFormData data = { local
605 scoped_ptr<PasswordForm> update_form(CreatePasswordFormFromData(data));
620 PasswordFormData data; member in struct:TestDataAndExpectation
638 PasswordForm* add_form = CreatePasswordFormFromData(test_data[0].data);
[all...]
H A Dpassword_store_win_unittest.cc73 unsigned char data[] = "\x0c\x00\x00\x00\x38\x00\x00\x00\x2c\x00\x00\x00" local
87 input.pbData = data;
88 input.cbData = sizeof(data);
91 const_cast<wchar_t*>(url.data()));
H A Dpassword_store_x_unittest.cc223 password_manager::PasswordFormData data = { local
236 forms->push_back(CreatePasswordFormFromData(data));
/external/chromium_org/chrome/browser/policy/cloud/
H A Dcloud_policy_invalidator_unittest.cc286 em::PolicyData* data = new em::PolicyData(); local
288 data->set_invalidation_source(GetPolicyObjectId(object).source());
289 data->set_invalidation_name(GetPolicyObjectId(object).name());
291 data->set_timestamp((time - base::Time::UnixEpoch()).InMilliseconds());
296 data->set_policy_value(policy_value_cur_);
298 store_.policy_.reset(data);
H A Dtest_request_interceptor.cc65 // Parses the upload data in |request| into |request_msg|, and validates the
68 // request data has been parsed into |request_msg|.
78 // This assumes that the payload data was set from a single string. In that
80 // data in memory.
91 std::string data(reader->bytes(), reader->length());
92 if (!request_msg->ParseFromString(data))
138 std::string data; local
139 response.SerializeToString(&data);
147 request, network_delegate, headers, data, true);
/external/chromium_org/chrome/browser/policy/test/
H A Dlocal_policy_test_server.cc27 // Filename in the temporary directory storing the policy data.
77 // Read configuration from a file in chrome/test/data/policy.
83 .AppendASCII("data")
107 // Write the signature data.
154 const std::string& data) {
159 base::StringPrintf("policy_%s.data", selector.c_str()));
161 return base::WriteFile(data_file, data.c_str(), data.size()) ==
162 static_cast<int>(data.size());
245 arguments->SetString("data
152 UpdatePolicyData(const std::string& type, const std::string& entity_id, const std::string& data) argument
[all...]
/external/chromium_org/chrome/browser/predictors/
H A Dresource_prefetch_predictor.cc606 const PrefetchData& data,
608 for (ResourceRows::const_iterator it = data.resources.begin();
609 it != data.resources.end(); ++it) {
628 // Prefer URL based data first.
633 // No prefetching data at host or URL level.
822 // URL level data - merge only if we are already saving the data, or we it
841 // Host level data - no cutoff, always learn the navigation if enabled.
904 // Build indices over the data.
605 PopulatePrefetcherRequest( const PrefetchData& data, ResourcePrefetcher::RequestVector* requests) argument
H A Dresource_prefetch_predictor_tables.cc268 // Don't need to store primary key since the data is grouped by primary key.
308 const PrefetchData& data) {
309 DCHECK(!data.primary_key.empty());
311 if (!StringsAreSmallerThanDBLimit(data)) {
316 // Delete the older data from both the tables.
317 scoped_ptr<Statement> deleter(data.is_host() ?
319 deleter->BindString(0, data.primary_key);
323 deleter.reset(data.is_host() ? GetHostMetadataDeleteStatement() :
325 deleter->BindString(0, data.primary_key);
329 // Add the new data t
307 UpdateDataHelper( const PrefetchData& data) argument
[all...]
H A Dresource_prefetch_predictor_unittest.cc42 void PrintTo(const PrefetchData& data, ::std::ostream* os) { argument
43 *os << "[" << data.key_type << "," << data.primary_key
44 << "," << data.last_visit.ToInternalValue() << "]\n";
45 for (ResourceRows::const_iterator it = data.resources.begin();
46 it != data.resources.end(); ++it) {
191 // Initialize the predictor with empty data.
210 { // Url data.
284 { // Host data.
344 // Tests that the predictor initializes correctly without any data
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dchrome_pref_service_factory.cc303 PrefHashFilter::TrackedPreferenceMetadata data = kTrackedPrefs[i]; local
307 data.enforcement_level = PrefHashFilter::NO_ENFORCEMENT;
311 data.name == DefaultSearchManager::kDefaultSearchProviderDataPrefName) {
313 data.enforcement_level = PrefHashFilter::ENFORCE_ON_LOAD;
318 data.name == extensions::pref_names::kExtensions) {
320 data.enforcement_level = PrefHashFilter::ENFORCE_ON_LOAD;
324 result.push_back(data);
340 // Do some diagnosis and try to avoid losing data.
/external/chromium_org/chrome/browser/prefs/tracked/
H A Dsegregated_pref_store_unittest.cc39 explicit MockReadErrorDelegate(Data* data) : data_(data) { argument
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_local_predictor.cc78 // data in this struct to make the determination whether we should issue the
309 int64 URLHashToInt64(const unsigned char* data) { argument
312 memcpy(&value, data, kURLHashSize);

Completed in 2150 milliseconds

<<11121314151617181920>>