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

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

Issue 8491038: Cleanup FileBrowser.Create.* UMA events (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/file_manager/js/metrics.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 }; 384 };
385 385
386 chrome.tabs = { 386 chrome.tabs = {
387 create: function(createOptions) { 387 create: function(createOptions) {
388 window.open(createOptions.url); 388 window.open(createOptions.url);
389 } 389 }
390 }; 390 };
391 391
392 chrome.experimental = { 392 chrome.experimental = {
393 metrics: { 393 metrics: {
394 recordValue: function() {},
395 recordMediumCount: function() {},
394 recordTime: function() {}, 396 recordTime: function() {},
395 recordUserAction: function() {} 397 recordUserAction: function() {}
396 } 398 }
397 }; 399 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/metrics.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698