Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 package org.chromium.chrome.browser; | |
|
Ted C
2017/06/02 16:16:40
let's put this in the chrome.browser.util package
| |
| 6 | |
| 7 /** | |
| 8 * A class containing some utility static methods for common conversions. | |
| 9 */ | |
| 10 public class ConversionUtils { | |
| 11 public static final int BYTES_PER_KILOBYTE = 1024; | |
| 12 public static final int BYTES_PER_MEGABYTE = 1024 * 1024; | |
| 13 public static final int BYTES_PER_GIGABYTE = 1024 * 1024 * 1024; | |
| 14 } | |
| OLD | NEW |