| Index: net/proxy/proxy_resolver_error_observer_mojo.h
|
| diff --git a/net/proxy/proxy_resolver_error_observer_mojo.h b/net/proxy/proxy_resolver_error_observer_mojo.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..286c5a7c672388895aebdcac59167f249de57569
|
| --- /dev/null
|
| +++ b/net/proxy/proxy_resolver_error_observer_mojo.h
|
| @@ -0,0 +1,28 @@
|
| +// 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_PROXY_RESOLVER_ERROR_OBSERVER_MOJO_H_
|
| +#define NET_PROXY_PROXY_RESOLVER_ERROR_OBSERVER_MOJO_H_
|
| +
|
| +#include "net/proxy/proxy_resolver.mojom.h"
|
| +#include "net/proxy/proxy_resolver_error_observer.h"
|
| +
|
| +namespace net {
|
| +
|
| +class ProxyResolverErrorObserverMojo : public ProxyResolverErrorObserver {
|
| + public:
|
| + explicit ProxyResolverErrorObserverMojo(
|
| + proxy::ErrorObserverPtr error_observer);
|
| + ~ProxyResolverErrorObserverMojo() override;
|
| +
|
| + private:
|
| + void OnPACScriptError(int line_number, const base::string16& error) override;
|
| +
|
| + proxy::ErrorObserverPtr error_observer_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ProxyResolverErrorObserverMojo);
|
| +};
|
| +
|
| +} // namespace net
|
| +#endif // NET_PROXY_PROXY_RESOLVER_ERROR_OBSERVER_MOJO_H_
|
|
|