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

Side by Side Diff: chrome/browser/resources/settings/device_page/drive_cache_dialog.js

Issue 2348913002: Port storage manager to MD settings. (Closed)
Patch Set: histograms.xml Created 4 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview
7 * 'settings-drive-cache-dialog' is the dialog to delete Google Drive temporary
8 * offline files.
9 */
10
michaelpg 2016/10/01 01:41:04 nit: remove newline
fukino 2016/10/03 18:40:41 Done.
11 Polymer({
12 is: 'settings-drive-cache-dialog',
13
14 behaviors: [
15 I18nBehavior,
16 ],
17
18 properties: {},
michaelpg 2016/10/01 01:41:04 remove
fukino 2016/10/03 18:40:41 Done.
19
20 open: function() {
21 this.$.dialog.showModal();
22 },
23
24 /** @private */
25 onCancelTap_: function() {
26 this.$.dialog.cancel();
27 },
28
29 /** @private */
30 onDeleteTap_: function() {
31 chrome.send('clearDriveCache');
32 this.$.dialog.close();
33 },
34 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698