OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package org.chromium.chrome.browser.historyreport; |
| 6 |
| 7 /** |
| 8 * Represents report about page visit. |
| 9 */ |
| 10 public class UsageReport { |
| 11 public final String reportId; |
| 12 /** |
| 13 * Unique id of a url visited by user. |
| 14 */ |
| 15 public final String pageId; |
| 16 /** |
| 17 * Time of the page visit. |
| 18 */ |
| 19 public final long timestampMs; |
| 20 /** |
| 21 * Whether page visit was caused by user typing the page url in omnibox. |
| 22 */ |
| 23 public final boolean typedVisit; |
| 24 |
| 25 public UsageReport(String reportId, String pageId, long timestampMs, boolean
typedVisit) { |
| 26 this.reportId = reportId; |
| 27 this.pageId = pageId; |
| 28 this.timestampMs = timestampMs; |
| 29 this.typedVisit = typedVisit; |
| 30 } |
| 31 } |
OLD | NEW |