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

Side by Side Diff: net/proxy/proxy_resolver_error_observer_mojo_host.h

Issue 862813002: WIP: Prototype OOP V8 PAC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Slight cleanup and report JS memory usage. Created 5 years, 10 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 unified diff | Download patch
OLDNEW
(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_HOST_H_
6 #define NET_PROXY_PROXY_RESOLVER_ERROR_OBSERVER_MOJO_HOST_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "net/base/net_export.h"
10 #include "net/proxy/proxy_resolver.mojom.h"
11
12 namespace net {
13
14 class ProxyResolverErrorObserver;
15
16 class NET_EXPORT ProxyResolverErrorObserverMojoHost
17 : public mojo::InterfaceImpl<proxy::ErrorObserver> {
18 public:
19 explicit ProxyResolverErrorObserverMojoHost(
20 scoped_ptr<ProxyResolverErrorObserver> error_observer);
21 ~ProxyResolverErrorObserverMojoHost() override;
22
23 private:
24 void OnPacScriptError(int line_number, const mojo::String& error) override;
25
26 scoped_ptr<ProxyResolverErrorObserver> error_observer_;
27
28 DISALLOW_COPY_AND_ASSIGN(ProxyResolverErrorObserverMojoHost);
29 };
30
31 } // namespace net
32
33 #endif // NET_PROXY_PROXY_RESOLVER_ERROR_OBSERVER_MOJO_HOST_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_error_observer_mojo.cc ('k') | net/proxy/proxy_resolver_error_observer_mojo_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698