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

Side by Side Diff: chrome/browser/resources/cleanup_tool/cleanup_browser_proxy.js

Issue 2788743002: Cleanup Tool WebUI: Add functional HTML and skeleton JS for main content (Closed)
Patch Set: Fix typo and make manager.js closure deps include cleanup_browser_proxy Created 3 years, 8 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 /** 5 /**
6 * @fileoverview Helper object and related behavior that encapsulate messaging 6 * @fileoverview Helper object and related behavior that encapsulate messaging
7 * between JS and C++ for interacting with the Chrome Cleanup Tool. 7 * between JS and C++ for interacting with the Chrome Cleanup Tool.
8 */ 8 */
9 9
10 /** 10 /**
11 * @typedef {{ 11 * @typedef {{
12 * hasScanResults: boolean, 12 * hasScanResults: boolean,
13 * isInfected: boolean, 13 * isInfected: boolean,
14 * detectionStatusText: string, 14 * detectionStatusText: string,
15 * detectionTimeText: string, 15 * detectionTimeText: string,
16 * }}; 16 * }}
17 */ 17 */
18 var LastScanResult; 18 var LastScanResult;
19 19
20 cr.define('cleanup', function() { 20 cr.define('cleanup', function() {
21 /** @interface */ 21 /** @interface */
22 function CleanupBrowserProxy() {} 22 function CleanupBrowserProxy() {}
23 23
24 CleanupBrowserProxy.prototype = { 24 CleanupBrowserProxy.prototype = {
25 /** 25 /**
26 * Fetch the result of the latest Chrome Cleanup Tool scanning task. 26 * Fetch the result of the latest Chrome Cleanup Tool scanning task.
(...skipping 14 matching lines...) Expand all
41 requestLastScanResult: function() { 41 requestLastScanResult: function() {
42 return cr.sendWithPromise('requestLastScanResult'); 42 return cr.sendWithPromise('requestLastScanResult');
43 }, 43 },
44 }; 44 };
45 45
46 return { 46 return {
47 CleanupBrowserProxy: CleanupBrowserProxy, 47 CleanupBrowserProxy: CleanupBrowserProxy,
48 CleanupBrowserProxyImpl: CleanupBrowserProxyImpl, 48 CleanupBrowserProxyImpl: CleanupBrowserProxyImpl,
49 } 49 }
50 }); 50 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/cleanup_tool/cleanup.html ('k') | chrome/browser/resources/cleanup_tool/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698