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

Side by Side Diff: chrome/browser/resources/media_router/externs.js

Issue 1521433002: [MediaRouter UI] Compile MR WebUI js code with Closure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 4 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "ipc/ipc_handle_win.h" 5 /**
6 * @fileoverview Externs to be declared to properly compile JS code.
7 * @externs
8 */
6 9
7 namespace IPC { 10 var performance = {};
8 11
9 HandleForTransit CreateHandleForTransit(HANDLE handle) { 12 /**
10 HandleForTransit hft; 13 * @return {number}
11 hft.handle = handle; 14 */
12 return hft; 15 performance.now = function() {};
13 }
14
15 } // namespace IPC
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698