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

Unified Diff: components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemVisuals.java

Issue 2811803006: Add support for pulling icons for OfflineItems (Closed)
Patch Set: Cleaned up the CL Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemVisuals.java
diff --git a/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemVisuals.java b/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemVisuals.java
new file mode 100644
index 0000000000000000000000000000000000000000..428c05077600196b8f9ec495a2f162a017c720ac
--- /dev/null
+++ b/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemVisuals.java
@@ -0,0 +1,16 @@
+// 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;
+
+import android.graphics.Bitmap;
+
+/**
+ * This class is the Java counterpart to the C++ OfflineItemVisuals
+ * (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 OfflineItemVisuals { public Bitmap icon; }
nyquist 2017/04/13 05:08:24 Wow, clang-format seems to like perl-style coding
David Trainor- moved to gerrit 2017/04/13 07:20:23 I was surprised as well... :/

Powered by Google App Engine
This is Rietveld 408576698