Searched defs:results (Results 51 - 75 of 612) sorted by path

1234567891011>>

/external/chromium_org/chrome/browser/extensions/updater/
H A Dextension_updater_unittest.cc621 // Adds a Result with the given data to results.
625 UpdateManifest::Results* results) {
630 results->list.push_back(result);
803 // Check passing an empty list of parse results to DetermineUpdates
1695 // This makes sure that the extension updater properly stores the results
1726 UpdateManifest::Results results; local
1727 results.daystart_elapsed_seconds = 750;
1729 updater.downloader_->HandleManifestResults(*fetch_data, &results);
1734 EXPECT_LT(seconds_diff - results.daystart_elapsed_seconds, 5);
622 AddParseResult(const std::string& id, const std::string& version, const std::string& url, UpdateManifest::Results* results) argument
/external/chromium_org/chrome/browser/favicon/
H A Dfavicon_handler_unittest.cc458 // results on all platforms.
1090 // from, the exact match is preferred even if it results in upsampling.
1176 } results[] = { local
1190 EXPECT_EQ(kSourceIconURLs[results[i].favicon_index].icon_url,
1192 if (results[i].width != -1)
1193 EXPECT_EQ(results[i].width, icons[i].icon_sizes[0].width());
1242 } results[] = { local
1256 ASSERT_EQ(results[i].image_urls_size, handler1.image_urls().size());
1257 EXPECT_EQ(kSourceIconURLs[results[i].favicon_index].icon_url,
1259 if (results[
[all...]
H A Dfavicon_service.cc33 const std::vector<favicon_base::FaviconRawBitmapResult>& results) {
36 callback.Run(results);
39 // Helper to run callback with empty results if we cannot get the history
91 const std::vector<favicon_base::FaviconRawBitmapResult>* results) {
92 callback.Run(*results);
30 CancelOrRunFaviconResultsCallback( const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, const favicon_base::FaviconResultsCallback& callback, const std::vector<favicon_base::FaviconRawBitmapResult>& results) argument
89 FaviconResultsCallbackRunner( const favicon_base::FaviconResultsCallback& callback, const std::vector<favicon_base::FaviconRawBitmapResult>* results) argument
/external/chromium_org/chrome/browser/google/
H A Dgoogle_update_win.cc194 // Returns the results of the update operation.
349 GoogleUpdateUpgradeResult results; local
350 hr = job_observer->GetResult(&results);
363 if (results == UPGRADE_ERROR) {
385 results, GOOGLE_UPDATE_NO_ERROR, base::string16()));
390 void GoogleUpdate::ReportResults(GoogleUpdateUpgradeResult results, argument
394 DCHECK(results == UPGRADE_ERROR ? error_code != GOOGLE_UPDATE_NO_ERROR :
397 "GoogleUpdate.UpgradeResult", results, NUM_UPGRADE_RESULTS);
398 if (results == UPGRADE_ERROR) {
404 results, error_cod
[all...]
/external/chromium_org/chrome/browser/history/
H A Ddownload_database.cc354 std::vector<DownloadRow>* results) {
357 results->clear();
479 results->push_back(*row);
353 QueryDownloads( std::vector<DownloadRow>* results) argument
H A Dhistory_backend.cc1232 // Now add them and the URL rows to the results.
1393 // Limit to the top |result_count| results.
1621 // Get results from DB.
2079 // TODO(pkotwicz): Select bitmap results from multiple favicons once
2389 QueryResults results; local
2390 QueryHistoryBasic(options, &results);
2394 for (size_t i = 0; i < results.size(); ++i) {
2395 if (times.count(results[i].visit_time()) > 0)
2396 urls.insert(results[i].url());
2403 for (size_t i = 0; i < results
[all...]
H A Dhistory_querying_unittest.cc38 // service should sort them by visit time when returning query results.
52 // Returns true if the nth result in the given results set matches. It will
53 // return false on a non-match or if there aren't enough results.
54 bool NthResultIs(const QueryResults& results, argument
57 if (static_cast<int>(results.size()) <= n)
60 const URLResult& result = results[n];
82 QueryResults* results) {
90 results->Swap(&last_query_results_);
93 // Test paging through results, with a fixed number of results pe
80 QueryHistory(const std::string& text_query, const QueryOptions& options, QueryResults* results) argument
102 QueryResults results; local
192 QueryHistoryComplete(QueryResults* results) argument
216 QueryResults results; local
220 QueryHistory(std::string(), options, &results); local
235 QueryHistory(std::string(), options, &results); local
245 QueryResults results; local
250 QueryHistory(std::string(), options, &results); local
260 QueryResults results; local
262 QueryHistory(std::string(), options, &results); local
268 QueryHistory(std::string(), options, &results); local
275 QueryHistory(std::string(), options, &results); local
282 QueryHistory(std::string(), options, &results); local
289 QueryHistory(std::string(), options, &results); local
296 QueryHistory(std::string(), options, &results); local
304 QueryHistory(std::string(), options, &results); local
307 QueryHistory(std::string(), options, &results); local
325 QueryResults results; local
355 QueryResults results; local
370 QueryResults results; local
394 QueryResults results; local
[all...]
H A Dhistory_service.cc510 std::vector<favicon_base::FaviconRawBitmapResult>* results = local
520 results),
521 base::Bind(&RunWithFaviconResults, callback, base::Owned(results)));
532 std::vector<favicon_base::FaviconRawBitmapResult>* results = local
542 results),
543 base::Bind(&RunWithFaviconResults, callback, base::Owned(results)));
575 std::vector<favicon_base::FaviconRawBitmapResult>* results = local
584 results),
585 base::Bind(&RunWithFaviconResults, callback, base::Owned(results)));
598 std::vector<favicon_base::FaviconRawBitmapResult>* results local
[all...]
H A Dhistory_unittest.cc750 // Delete some rows and make sure the results are still correct.
858 std::vector<DownloadRow> results; local
859 db_->QueryDownloads(&results);
860 ASSERT_EQ(1u, results.size());
861 EXPECT_EQ(content::DownloadItem::INTERRUPTED, results[0].state);
863 results[0].interrupt_reason);
1866 std::vector<PageUsageData*> results; local
1867 db_->QuerySegmentUsage(segment_time, 10, &results);
1868 ASSERT_EQ(1u, results.size());
1869 EXPECT_EQ(url, results[
[all...]
H A Dvisit_database_unittest.cc250 VisitVector results; local
251 GetVisitsForTimes(times, &results);
252 EXPECT_EQ(test_visit_rows.size(), results.size());
259 VisitVector results; local
260 GetVisitsForTimes(times, &results);
261 ASSERT_EQ(static_cast<size_t>(1), results.size());
262 EXPECT_TRUE(IsVisitInfoEqual(results[0], test_visit_rows[i]));
274 VisitVector results; local
275 GetAllVisitsInRange(Time(), Time(), 0, &results); local
276 ASSERT_EQ(test_visit_rows.size(), results
291 GetAllVisitsInRange(Time(), Time(), 1, &results); local
305 VisitVector results; local
398 VisitVector results; local
[all...]
H A Dvisitsegment_database.cc205 std::vector<PageUsageData*>* results) {
231 results->push_back(pud);
257 results->push_back(pud);
260 // Limit to the top kResultCount results.
261 std::sort(results->begin(), results->end(), PageUsageData::Predicate);
262 if (static_cast<int>(results->size()) > max_result_count) {
263 STLDeleteContainerPointers(results->begin() + max_result_count,
264 results->end());
265 results
202 QuerySegmentUsage( base::Time from_time, int max_result_count, std::vector<PageUsageData*>* results) argument
[all...]
/external/chromium_org/chrome/browser/importer/
H A Dprofile_writer_unittest.cc108 void HistoryQueryComplete(history::QueryResults* results) { argument
110 history_count_ = results->size();
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Ddevice_media_async_file_util.cc197 // Append the ones that look like media files to |results|.
225 AsyncFileUtil::EntryList results; local
229 results.push_back(entry);
232 return results;
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_file_system_registry_unittest.cc164 FSInfoMap* results,
167 ASSERT_FALSE(ContainsKey(*results, file_systems[i].pref_id));
168 (*results)[file_systems[i].pref_id] = file_systems[i];
526 FSInfoMap results; local
531 base::Bind(&GetGalleryInfoCallback, base::Unretained(&results)));
533 return results;
578 // Order isn't important, so sort the results.
163 GetGalleryInfoCallback( FSInfoMap* results, const std::vector<MediaFileSystemInfo>& file_systems) argument
H A Dmedia_folder_finder_unittest.cc83 MediaFolderFinder::MediaFolderFinderResults* results) {
88 MediaGalleryScanResult& result = (*results)[parent_dir];
109 results->erase(parent_dir);
146 const MediaFolderFinder::MediaFolderFinderResults& results) {
151 ASSERT_EQ(expected_keys, GetKeysFromResults(results));
153 results.begin();
154 it != results.end(); ++it) {
157 const MediaGalleryScanResult& actual = results.find(folder)->second;
168 const MediaFolderFinder::MediaFolderFinderResults& results) {
171 results
79 CreateTestFile(const base::FilePath& parent_dir, MediaGalleryScanFileType type, size_t count, bool big, MediaFolderFinder::MediaFolderFinderResults* results) argument
144 OnGotResults( bool success, const MediaFolderFinder::MediaFolderFinderResults& results) argument
167 GetKeysFromResults( const MediaFolderFinder::MediaFolderFinderResults& results) argument
[all...]
H A Dmedia_galleries_scan_result_controller_unittest.cc199 // Start with two scan results.
239 // Start with two scan results.
318 // Blacklist scan results.
346 MediaGalleriesDialogController::Entries results = local
348 EXPECT_EQ(selected, results[0].pref_info.pref_id);
349 EXPECT_TRUE(results[0].selected);
350 EXPECT_EQ(selected_update, results[1].pref_info.pref_id);
351 EXPECT_TRUE(results[1].selected);
353 results[1].pref_info.volume_label);
354 EXPECT_EQ(unselected, results[
415 MediaGalleriesDialogController::Entries results = local
[all...]
H A Dmedia_scan_manager.cc31 // When multiple scan results have the same parent, sometimes it makes sense
34 // directories in the parent directory must be scan results.
37 // How long after a completed media scan can we provide the cached results.
65 // Finds new scan results that are shadowed (the same location, or a child) by
67 // Also moves new scan results that are shadowed by other new scan results
102 // Move new scan results that are shadowed.
114 MediaGalleryScanResult results; local
118 results.audio_count += it->second.audio_count;
119 results
[all...]
H A Dmedia_scan_manager_unittest.cc180 const MediaFolderFinder::MediaFolderFinderResults& results) {
182 find_folders_results_ = results;
329 // A/H/ - included in results
361 MediaFolderFinder::MediaFolderFinderResults results = local
363 EXPECT_EQ(expected_folders.size(), results.size());
368 EXPECT_TRUE(results.find(*it) != results.end());
374 // A/ - included in results
398 MediaFolderFinder::MediaFolderFinderResults results = local
400 EXPECT_EQ(expected_folders.size(), results
178 SetFindFoldersResults( bool success, const MediaFolderFinder::MediaFolderFinderResults& results) argument
443 MediaFolderFinder::MediaFolderFinderResults results = local
506 MediaFolderFinder::MediaFolderFinderResults results = local
[all...]
/external/chromium_org/chrome/browser/media_galleries/win/
H A Dmtp_device_delegate_impl_win_unittest.cc44 FSInfoMap* results,
47 ASSERT_FALSE(ContainsKey(*results, file_systems[i].pref_id));
48 (*results)[file_systems[i].pref_id] = file_systems[i];
163 FSInfoMap results; local
168 base::Bind(&GetGalleryInfoCallback, base::Unretained(&results)));
171 ASSERT_EQ(media_directories_.num_galleries() + 1, results.size());
173 for (FSInfoMap::iterator i = results.begin(); i != results.end(); ++i) {
43 GetGalleryInfoCallback( FSInfoMap* results, const std::vector<MediaFileSystemInfo>& file_systems) argument
/external/chromium_org/chrome/browser/net/
H A Dssl_config_service_manager_pref.cc31 std::vector<std::string> results; local
32 results.reserve(value->GetSize());
38 results.push_back(s);
40 return results;
/external/chromium_org/chrome/browser/password_manager/
H A Dnative_backend_gnome_x_unittest.cc218 // Find matches and add them to a list of results.
219 GList* results = NULL; local
242 results = g_list_prepend(results, found);
246 callback(results ? GNOME_KEYRING_RESULT_OK
247 : GNOME_KEYRING_RESULT_NO_MATCH, results, data);
248 // Now free the list of results.
249 GList* element = g_list_first(results);
258 g_list_free(results);
616 // There should be two results
[all...]
/external/chromium_org/chrome/browser/profile_resetter/
H A Dautomatic_profile_resetter.cc320 // which case it posts |callback_| to return with the results.
650 scoped_ptr<EvaluationResults> results(new EvaluationResults);
651 interpreter.GetOutputBoolean(kShouldPromptKey, &results->should_prompt);
653 &results->had_prompted_already);
655 &results->memento_value_in_prefs);
657 &results->memento_value_in_local_state);
659 &results->memento_value_in_file);
665 results->combined_status_mask |= (1 << i);
672 results->satisfied_criteria_mask |= (1 << i);
674 return results
687 FinishEvaluationFlow( scoped_ptr<EvaluationResults> results) argument
[all...]
H A Dresettable_settings_snapshot.cc50 base::DictionaryValue* results = new base::DictionaryValue(); local
51 results->SetString("key", key);
52 results->SetString("value", value);
53 list->Append(results);
/external/chromium_org/chrome/browser/profiles/
H A Dhost_zoom_map_browsertest.cc97 std::vector<std::string> results; local
100 results.push_back(it->host);
101 return results;
108 std::vector<std::string> results; local
112 results.push_back(it.key());
114 return results;
/external/chromium_org/chrome/browser/renderer_context_menu/
H A Dspelling_menu_observer.cc360 const std::vector<SpellCheckResult>& results) {
363 // Scan the text-check results and replace the misspelled regions with
368 if (results.empty()) {
372 for (SpellCheckResults::const_iterator it = results.begin();
373 it != results.end(); ++it) {
356 OnTextCheckComplete( SpellingServiceClient::ServiceType type, bool success, const base::string16& text, const std::vector<SpellCheckResult>& results) argument

Completed in 6776 milliseconds

1234567891011>>