summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/table_row_nsimage_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/table_row_nsimage_cache.h')
-rw-r--r--chrome/browser/cocoa/table_row_nsimage_cache.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/chrome/browser/cocoa/table_row_nsimage_cache.h b/chrome/browser/cocoa/table_row_nsimage_cache.h
index 6409123..a8c0052 100644
--- a/chrome/browser/cocoa/table_row_nsimage_cache.h
+++ b/chrome/browser/cocoa/table_row_nsimage_cache.h
@@ -15,15 +15,18 @@
// caches the results.
class TableRowNSImageCache {
public:
- // Interface this cache expects for its table model.
- class Table {
- public:
- // Returns the number of rows in the table.
- virtual int RowCount() const = 0;
-
- // Returns the icon of the |row|th row.
- virtual SkBitmap GetIcon(int row) const = 0;
- };
+ // Interface this cache expects for its table model.
+ class Table {
+ public:
+ // Returns the number of rows in the table.
+ virtual int RowCount() const = 0;
+
+ // Returns the icon of the |row|th row.
+ virtual SkBitmap GetIcon(int row) const = 0;
+
+ protected:
+ virtual ~Table() {}
+ };
// |model| must outlive the cache.
explicit TableRowNSImageCache(Table* model);