| Index: components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/ContentId.java
|
| diff --git a/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/ContentId.java b/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/ContentId.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..045618ba9dc19998a017dc4f6c20f7b0b2f581be
|
| --- /dev/null
|
| +++ b/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/ContentId.java
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.components.offline_items_collection;
|
| +
|
| +/**
|
| + * This class is a Java counterpart to the C++ ContentId
|
| + * (components/offline_items_collection/core/offline_item.h) class.
|
| + *
|
| + * For all member variable descriptions see the C++ class.
|
| + * TODO(dtrainor): Investigate making all class members for this and the C++ counterpart const.
|
| + */
|
| +public class ContentId {
|
| + public String namespace;
|
| + public String id;
|
| +
|
| + public ContentId() {}
|
| + public ContentId(String namespace, String id) {
|
| + this.namespace = namespace;
|
| + this.id = id;
|
| + }
|
| +}
|
|
|