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

Side by Side Diff: net/proxy/proxy_resolver_error_observer_mojo.cc

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 #include "net/proxy/proxy_resolver_error_observer_mojo.h"
6
7 #include "mojo/common/common_type_converters.h"
8
9 namespace net {
10
11 ProxyResolverErrorObserverMojo::ProxyResolverErrorObserverMojo(
12 proxy::ErrorObserverPtr error_observer)
13 : error_observer_(error_observer.Pass()) {
14 }
15
16 ProxyResolverErrorObserverMojo::~ProxyResolverErrorObserverMojo() = default;
17
18 void ProxyResolverErrorObserverMojo::OnPACScriptError(
19 int line_number,
20 const base::string16& error) {
21 error_observer_->OnPacScriptError(line_number, mojo::String::From(error));
22 }
23
24 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_error_observer_mojo.h ('k') | net/proxy/proxy_resolver_error_observer_mojo_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698