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

Unified Diff: chrome/browser/net/net_error_tab_helper.h

Issue 2619603002: Remove android_java_ui as it is not used (Closed)
Patch Set: Rebase to master Created 3 years, 11 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/net/chrome_network_delegate.cc ('k') | chrome/browser/net/net_error_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/net_error_tab_helper.h
diff --git a/chrome/browser/net/net_error_tab_helper.h b/chrome/browser/net/net_error_tab_helper.h
index 90ffc5279a37e37c77274b7a44e1215426635b1d..42b2abe17b2e4b651dbd5605a87daeaba540a511 100644
--- a/chrome/browser/net/net_error_tab_helper.h
+++ b/chrome/browser/net/net_error_tab_helper.h
@@ -12,7 +12,6 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/net/dns_probe_service.h"
-#include "chrome/common/features.h"
#include "chrome/common/network_diagnostics.mojom.h"
#include "components/error_page/common/net_error_info.h"
#include "components/prefs/pref_member.h"
@@ -78,9 +77,9 @@ class NetErrorTabHelper
return network_diagnostics_bindings_;
}
-#if BUILDFLAG(ANDROID_JAVA_UI)
+#if defined(OS_ANDROID)
void DownloadPageLater();
-#endif // BUILDFLAG(ANDROID_JAVA_UI)
+#endif // defined(OS_ANDROID)
private:
friend class content::WebContentsUserData<NetErrorTabHelper>;
@@ -97,10 +96,10 @@ class NetErrorTabHelper
// testing.
virtual void RunNetworkDiagnosticsHelper(const std::string& sanitized_url);
-#if BUILDFLAG(ANDROID_JAVA_UI)
+#if defined(OS_ANDROID)
// Virtual for testing.
virtual void DownloadPageLaterHelper(const GURL& url);
-#endif // BUILDFLAG(ANDROID_JAVA_UI)
+#endif // defined(OS_ANDROID)
content::WebContentsFrameBindingSet<chrome::mojom::NetworkDiagnostics>
network_diagnostics_bindings_;
« no previous file with comments | « chrome/browser/net/chrome_network_delegate.cc ('k') | chrome/browser/net/net_error_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698