Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: components/upload_list/upload_list.cc

Issue 2324983002: [Android] Wire up manual crash uploads. (Closed)
Patch Set: Remove another #if wrapper Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/upload_list/upload_list.cc
diff --git a/components/upload_list/upload_list.cc b/components/upload_list/upload_list.cc
index 6922be55215f2605f5d9c07052157f512fb6e906..3db9e58e89451565c357660dd80298dc7d7aee84 100644
--- a/components/upload_list/upload_list.cc
+++ b/components/upload_list/upload_list.cc
@@ -139,16 +139,14 @@ void UploadList::GetUploads(size_t max_count,
}
void UploadList::RequestSingleCrashUploadAsync(const std::string& local_id) {
-#if defined(OS_WIN) || defined(OS_MACOSX)
DCHECK(thread_checker_.CalledOnValidThread());
worker_pool_->PostTask(
FROM_HERE,
base::Bind(&UploadList::RequestSingleCrashUpload, this, local_id));
-#endif
}
void UploadList::RequestSingleCrashUpload(const std::string& local_id) {
- // Manual uploads for not uploaded crash reports are not available for non
- // crashpad systems.
+ // Manual uploads for not yet uploaded crash reports are only available for
+ // Crashpad systems or on Android.
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698