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

Side by Side Diff: chrome/browser/resources/snippets_internals.html

Issue 2569663004: [NTPSnippets] Switch from TickClock to Clock for storing the last background fetched time. (Closed)
Patch Set: Add a DCHECK to check that the num or args passed to the new method is 0 Created 4 years 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
« no previous file with comments | « no previous file | chrome/browser/resources/snippets_internals.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 Copyright 2016 The Chromium Authors. All rights reserved. 2 Copyright 2016 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 <!DOCTYPE html> 6 <!DOCTYPE html>
7 <meta charset="utf-8"> 7 <meta charset="utf-8">
8 <if expr="is_android or is_ios"> 8 <if expr="is_android or is_ios">
9 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 9 <meta name="viewport" content="width=device-width, initial-scale=1.0">
10 </if> 10 </if>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 <div id="last-json" class="hidden"> 86 <div id="last-json" class="hidden">
87 <h2>Last JSON from Server</h2> 87 <h2>Last JSON from Server</h2>
88 <a id="last-json-button">Show the last JSON &gt;&gt;</a> 88 <a id="last-json-button">Show the last JSON &gt;&gt;</a>
89 <div id="last-json-container" class="hidden"> 89 <div id="last-json-container" class="hidden">
90 <div id="last-json-text"></div> 90 <div id="last-json-text"></div>
91 <button id="last-json-dump" type="button">Dump the last JSON</button> 91 <button id="last-json-dump" type="button">Dump the last JSON</button>
92 </div> 92 </div>
93 </div> 93 </div>
94 94
95 <div id="remote-content-suggestions" class="">
96 <h2>Remote content suggestions</h2>
97 <div>
98 <span>Last Background Fetch Time: </span>
99 <span id="last-background-fetch-time-label"></span>
100 </div>
101 <button id="background-fetch-button" type="button">
102 Fetch remote suggestions in the background
103 </button>
104 </div>
105
95 <div id="content-suggestions"> 106 <div id="content-suggestions">
96 <h2>Content suggestions by category 107 <h2>Content suggestions by category
97 <span class="detail">(click for details)</span> 108 <span class="detail">(click for details)</span>
98 <button id="submit-dump" type="button">Dump the list</button> 109 <button id="submit-dump" type="button">Dump the list</button>
99 </h2> 110 </h2>
100 <div jsselect="list" style="display:none"> 111 <div jsselect="list" style="display:none">
101 <h3> 112 <h3>
102 <span jscontent="title"></span> 113 <span jscontent="title"></span>
103 <span class="detail"> 114 <span class="detail">
104 (<span jscontent="status"></span>) 115 (<span jscontent="status"></span>)
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 <tr> 198 <tr>
188 <td>Publisher name 199 <td>Publisher name
189 <td jscontent="publisherName"> 200 <td jscontent="publisherName">
190 </table> 201 </table>
191 </div> 202 </div>
192 </table> 203 </table>
193 </div> 204 </div>
194 <div class="detail" id="content-suggestions-empty"></div> 205 <div class="detail" id="content-suggestions-empty"></div>
195 </div> 206 </div>
196 </div> 207 </div>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/snippets_internals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698