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

Unified Diff: components/network_hints/renderer/renderer_preconnect.h

Issue 2179693002: Revert of Convert network hints to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/network_hints/renderer/renderer_preconnect.h
diff --git a/components/network_hints/renderer/renderer_preconnect.h b/components/network_hints/renderer/renderer_preconnect.h
index 3830b8abd66fe342a741af4b00fc5b4e46685bb5..39dac9312ba6fe4e4371ccb84a5456fd1b350430 100644
--- a/components/network_hints/renderer/renderer_preconnect.h
+++ b/components/network_hints/renderer/renderer_preconnect.h
@@ -18,7 +18,6 @@
#define COMPONENTS_NETWORK_HINTS_RENDERER_RENDERER_PRECONNECT_H_
#include "base/macros.h"
-#include "components/network_hints/public/interfaces/network_hints.mojom.h"
#include "url/gurl.h"
namespace network_hints {
@@ -34,11 +33,6 @@
void Preconnect(const GURL& url, bool allow_credentials);
private:
- // Get a connected NetworkHints.
- mojom::NetworkHints& GetNetworkHints();
-
- // Don't use directly. Instead call |GetNetworkHints()|.
- mojom::NetworkHintsPtr network_hints_;
DISALLOW_COPY_AND_ASSIGN(RendererPreconnect);
}; // class RendererPreconnect
« no previous file with comments | « components/network_hints/renderer/renderer_dns_prefetch.cc ('k') | components/network_hints/renderer/renderer_preconnect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698