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

Unified Diff: net/proxy/in_process_mojo_proxy_resolver_factory.h

Issue 2625853002: Remove --v8-pac-mojo-in-process (Closed)
Patch Set: test 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 | « net/BUILD.gn ('k') | net/proxy/in_process_mojo_proxy_resolver_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/in_process_mojo_proxy_resolver_factory.h
diff --git a/net/proxy/in_process_mojo_proxy_resolver_factory.h b/net/proxy/in_process_mojo_proxy_resolver_factory.h
deleted file mode 100644
index d7b7265388f8dadc5db54508dbdad0dc3f9016c8..0000000000000000000000000000000000000000
--- a/net/proxy/in_process_mojo_proxy_resolver_factory.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_PROXY_IN_PROCESS_MOJO_PROXY_RESOLVER_FACTORY_H_
-#define NET_PROXY_IN_PROCESS_MOJO_PROXY_RESOLVER_FACTORY_H_
-
-#include "base/macros.h"
-#include "net/proxy/mojo_proxy_resolver_factory.h"
-
-namespace base {
-template <typename T>
-struct DefaultSingletonTraits;
-}
-
-namespace net {
-
-// Factory to connect to an in-process Mojo proxy resolver service.
-// NOTE: This is intended to be temporary for debugging purposes and will be
-// removed when we're confident with the out-of-process implementation.
-class InProcessMojoProxyResolverFactory : public MojoProxyResolverFactory {
- public:
- static InProcessMojoProxyResolverFactory* GetInstance();
-
- // Overridden from MojoProxyResolverFactory:
- std::unique_ptr<base::ScopedClosureRunner> CreateResolver(
- const std::string& pac_script,
- mojo::InterfaceRequest<interfaces::ProxyResolver> req,
- interfaces::ProxyResolverFactoryRequestClientPtr client) override;
-
- private:
- InProcessMojoProxyResolverFactory();
- ~InProcessMojoProxyResolverFactory() override;
- friend struct base::DefaultSingletonTraits<InProcessMojoProxyResolverFactory>;
-
- interfaces::ProxyResolverFactoryPtr factory_;
-
- DISALLOW_COPY_AND_ASSIGN(InProcessMojoProxyResolverFactory);
-};
-
-} // namespace net
-
-#endif // NET_PROXY_IN_PROCESS_MOJO_PROXY_RESOLVER_FACTORY_H_
« no previous file with comments | « net/BUILD.gn ('k') | net/proxy/in_process_mojo_proxy_resolver_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698