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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/download/DownloadSheetContent.java

Issue 2754313002: [Home] Record some user actions for the Chrome Home BottomSheet (Closed)
Patch Set: Update tests Created 3 years, 9 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 package org.chromium.chrome.browser.download; 5 package org.chromium.chrome.browser.download;
6 6
7 import android.app.Activity; 7 import android.app.Activity;
8 import android.support.v7.widget.Toolbar; 8 import android.support.v7.widget.Toolbar;
9 import android.view.View; 9 import android.view.View;
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 public int getVerticalScrollOffset() { 71 public int getVerticalScrollOffset() {
72 return mDownloadManager.getVerticalScrollOffset(); 72 return mDownloadManager.getVerticalScrollOffset();
73 } 73 }
74 74
75 @Override 75 @Override
76 public void destroy() { 76 public void destroy() {
77 mDownloadManager.onDestroyed(); 77 mDownloadManager.onDestroyed();
78 mDownloadManager = null; 78 mDownloadManager = null;
79 ApplicationStatus.unregisterActivityStateListener(mActivityStateListener ); 79 ApplicationStatus.unregisterActivityStateListener(mActivityStateListener );
80 } 80 }
81
82 @Override
83 public String getMetricsName() {
84 return "Downloads";
85 }
81 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698