| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "extensions/renderer/injection_host.h" | 5 alert('Prepare to DIE!'); |
| 6 var x = null; |
| 7 return x.split('-'); // Throws exception. |
| 6 | 8 |
| 7 InjectionHost::InjectionHost(const HostID& host_id) : | 9 function FindProxyForURL(url, host) { |
| 8 id_(host_id) { | 10 return "PROXY i-approve-this-message:42"; |
| 9 } | 11 } |
| 10 | |
| 11 InjectionHost::~InjectionHost() { | |
| 12 } | |
| OLD | NEW |