OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_PROXY_PROXY_RESOLVER_ERROR_OBSERVER_MOJO_H_ |
| 6 #define NET_PROXY_PROXY_RESOLVER_ERROR_OBSERVER_MOJO_H_ |
| 7 |
| 8 #include "net/proxy/proxy_resolver.mojom.h" |
| 9 #include "net/proxy/proxy_resolver_error_observer.h" |
| 10 |
| 11 namespace net { |
| 12 |
| 13 class ProxyResolverErrorObserverMojo : public ProxyResolverErrorObserver { |
| 14 public: |
| 15 explicit ProxyResolverErrorObserverMojo( |
| 16 proxy::ErrorObserverPtr error_observer); |
| 17 ~ProxyResolverErrorObserverMojo() override; |
| 18 |
| 19 private: |
| 20 void OnPACScriptError(int line_number, const base::string16& error) override; |
| 21 |
| 22 proxy::ErrorObserverPtr error_observer_; |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(ProxyResolverErrorObserverMojo); |
| 25 }; |
| 26 |
| 27 } // namespace net |
| 28 #endif // NET_PROXY_PROXY_RESOLVER_ERROR_OBSERVER_MOJO_H_ |
OLD | NEW |