Chromium Code Reviews| Index: components/arc/common/user_data.mojom |
| diff --git a/chrome/test/data/extensions/api_test/webrequest_activetab/background.js b/components/arc/common/user_data.mojom |
| similarity index 52% |
| copy from chrome/test/data/extensions/api_test/webrequest_activetab/background.js |
| copy to components/arc/common/user_data.mojom |
| index 3876340c8250f227371f8ea83f8b18c0a9801088..dec0f0fb3cf0dc55bf90bbec15f02cf05bc71cea 100644 |
| --- a/chrome/test/data/extensions/api_test/webrequest_activetab/background.js |
| +++ b/components/arc/common/user_data.mojom |
| @@ -2,10 +2,14 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // 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.
|
| -window.webRequestCount = 0; |
| +module arc.mojom; |
| -chrome.webRequest.onBeforeRequest.addListener(function(details) { |
| - ++window.webRequestCount; |
| -}, {urls:['<all_urls>']}); |
| +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.
|
| + // Removes ARC data. |
| + ClearArcData(); |
|
Luis Héctor Chávez
2016/07/21 19:44:27
ClearArcData@0
Polina Bondarenko
2016/07/22 08:12:10
Done.
|
| +}; |
| -chrome.test.sendMessage('ready'); |
| +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.
|
| + // Establishes full-duplex communication with the host. |
| + 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.
|
| +}; |