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

Unified Diff: chrome/browser/tracing/background_tracing_field_trial.cc

Issue 2944973002: Remove IS_IOS checks in chrome/ (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_factory.cc ('k') | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tracing/background_tracing_field_trial.cc
diff --git a/chrome/browser/tracing/background_tracing_field_trial.cc b/chrome/browser/tracing/background_tracing_field_trial.cc
index a6f80a516426bed94516039ff2e4c6cf8e71e262..2d39262f1c8c0e1e0e7ead1b4eaba9f7c4ecc6ae 100644
--- a/chrome/browser/tracing/background_tracing_field_trial.cc
+++ b/chrome/browser/tracing/background_tracing_field_trial.cc
@@ -47,7 +47,7 @@ void UploadCallback(const std::string& upload_url,
if (GURL(upload_url).is_valid())
uploader->SetUploadURL(upload_url);
-#if defined(OS_ANDROID) || defined(OS_IOS)
+#if defined(OS_ANDROID)
auto connection_type = net::NetworkChangeNotifier::GetConnectionType();
if (connection_type != net::NetworkChangeNotifier::CONNECTION_WIFI &&
connection_type != net::NetworkChangeNotifier::CONNECTION_ETHERNET &&
@@ -55,7 +55,7 @@ void UploadCallback(const std::string& upload_url,
// Allow only 100KiB for uploads over data.
uploader->SetMaxUploadBytes(100 * 1024);
}
-#endif // defined(OS_ANDROID) || defined(OS_IOS)
+#endif
uploader->DoUpload(
file_contents->data(), content::TraceUploader::UNCOMPRESSED_UPLOAD,
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_factory.cc ('k') | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698