OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 var allTypes = { | 5 var allTypes = { |
6 cache: true, | 6 cache: true, |
7 cookies: true, | 7 cookies: true, |
8 downloads: true, | 8 downloads: true, |
9 formData: true, | 9 formData: true, |
10 history: true, | 10 history: true, |
(...skipping 22 matching lines...) Expand all Loading... |
33 }, | 33 }, |
34 function testClearDownloads() { | 34 function testClearDownloads() { |
35 chrome.experimental.clear.downloads( | 35 chrome.experimental.clear.downloads( |
36 "everything", chrome.test.callbackPass()); | 36 "everything", chrome.test.callbackPass()); |
37 }, | 37 }, |
38 function testClearFormData() { | 38 function testClearFormData() { |
39 chrome.experimental.clear.formData( | 39 chrome.experimental.clear.formData( |
40 "everything", chrome.test.callbackPass()); | 40 "everything", chrome.test.callbackPass()); |
41 } | 41 } |
42 ]); | 42 ]); |
OLD | NEW |