| Index: components/enhanced_bookmarks/persistent_image_store.h
|
| diff --git a/components/enhanced_bookmarks/persistent_image_store.h b/components/enhanced_bookmarks/persistent_image_store.h
|
| index bc715a502746566226b4bd59d7f017990b9ef185..5a0c41d596297ec36a8972a8f23d0be9023700ff 100644
|
| --- a/components/enhanced_bookmarks/persistent_image_store.h
|
| +++ b/components/enhanced_bookmarks/persistent_image_store.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/files/file_path.h"
|
| #include "sql/connection.h"
|
| #include "sql/init_status.h"
|
| +#include "sql/meta_table.h"
|
|
|
| // The PersistentImageStore is an implementation of ImageStore that persists its
|
| // data on disk.
|
| @@ -19,10 +20,9 @@ class PersistentImageStore : public ImageStore {
|
| explicit PersistentImageStore(const base::FilePath& path);
|
| bool HasKey(const GURL& page_url) override;
|
| void Insert(const GURL& page_url,
|
| - const GURL& image_url,
|
| - const gfx::Image& image) override;
|
| + const enhanced_bookmarks::ImageRecord& image) override;
|
| void Erase(const GURL& page_url) override;
|
| - std::pair<gfx::Image, GURL> Get(const GURL& page_url) override;
|
| + enhanced_bookmarks::ImageRecord Get(const GURL& page_url) override;
|
| gfx::Size GetSize(const GURL& page_url) override;
|
| void GetAllPageUrls(std::set<GURL>* urls) override;
|
| void ClearAll() override;
|
| @@ -36,6 +36,7 @@ class PersistentImageStore : public ImageStore {
|
|
|
| const base::FilePath path_;
|
| sql::Connection db_;
|
| + sql::MetaTable meta_table_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PersistentImageStore);
|
| };
|
|
|