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

Side by Side Diff: chrome/browser/resources/file_manager/js/mock_chrome.js

Issue 8819013: Add UMA metrics to Photo Editor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better trace Created 9 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 | Annotate | Revision Log
OLDNEW
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 /** 5 /**
6 * Mock out the chrome.fileBrowserPrivate API for use in the harness. 6 * Mock out the chrome.fileBrowserPrivate API for use in the harness.
7 */ 7 */
8 chrome.fileBrowserPrivate = { 8 chrome.fileBrowserPrivate = {
9 9
10 /** 10 /**
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 } 390 }
391 }; 391 };
392 392
393 chrome.tabs = { 393 chrome.tabs = {
394 create: function(createOptions) { 394 create: function(createOptions) {
395 window.open(createOptions.url); 395 window.open(createOptions.url);
396 } 396 }
397 }; 397 };
398 398
399 chrome.metricsPrivate = { 399 chrome.metricsPrivate = {
400 recordValue: function() {},
401 recordMediumCount: function() {}, 400 recordMediumCount: function() {},
401 recordSmallCount: function() {},
402 recordTime: function() {}, 402 recordTime: function() {},
403 recordUserAction: function() {} 403 recordUserAction: function() {},
404 }; 404 recordValue: function() {}
405 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698