| OLD | NEW |
| 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 package org.chromium.chrome.browser.omaha; | 5 package org.chromium.chrome.browser.omaha; |
| 6 | 6 |
| 7 import android.content.ActivityNotFoundException; | 7 import android.content.ActivityNotFoundException; |
| 8 import android.content.Context; | 8 import android.content.Context; |
| 9 import android.content.Intent; | 9 import android.content.Intent; |
| 10 import android.net.Uri; | 10 import android.net.Uri; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 recordHistograms(ACTION_CLICKED_UPDATE_FAIL); | 100 recordHistograms(ACTION_CLICKED_UPDATE_FAIL); |
| 101 } | 101 } |
| 102 } | 102 } |
| 103 | 103 |
| 104 /** Returns the URL that is supposed to be opened when the button is clicked
. */ | 104 /** Returns the URL that is supposed to be opened when the button is clicked
. */ |
| 105 @VisibleForTesting | 105 @VisibleForTesting |
| 106 public String getUrl() { | 106 public String getUrl() { |
| 107 return mUrl; | 107 return mUrl; |
| 108 } | 108 } |
| 109 } | 109 } |
| OLD | NEW |