OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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. |
Luis Héctor Chávez
2016/07/21 19:44:27
// Next MinVersion: 1
Polina Bondarenko
2016/07/22 08:12:10
Done.
| |
4 | 4 |
5 window.webRequestCount = 0; | 5 module arc.mojom; |
6 | 6 |
7 chrome.webRequest.onBeforeRequest.addListener(function(details) { | 7 interface UserDataHost { |
Luis Héctor Chávez
2016/07/21 19:44:27
// Next Method ID: 1
Polina Bondarenko
2016/07/22 08:12:10
Done.
| |
8 ++window.webRequestCount; | 8 // Removes ARC data. |
9 }, {urls:['<all_urls>']}); | 9 ClearArcData(); |
Luis Héctor Chávez
2016/07/21 19:44:27
ClearArcData@0
Polina Bondarenko
2016/07/22 08:12:10
Done.
| |
10 }; | |
10 | 11 |
11 chrome.test.sendMessage('ready'); | 12 interface UserDataInstance { |
Luis Héctor Chávez
2016/07/21 19:44:27
// Next Method ID: 1
Polina Bondarenko
2016/07/22 08:12:10
Done.
| |
13 // Establishes full-duplex communication with the host. | |
14 Init(UserDataHost host_ptr); | |
Luis Héctor Chávez
2016/07/21 19:44:27
Init@0
Polina Bondarenko
2016/07/22 08:12:10
Done.
| |
15 }; | |
OLD | NEW |