1 // Copyright 2013 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 #ifndef CHROME_COMMON_IMPORTER_IMPORTED_FAVICON_USAGE_H_ 6 #define CHROME_COMMON_IMPORTER_IMPORTED_FAVICON_USAGE_H_ 7 8 #include <set> 9 #include <vector> 10 11 #include "url/gurl.h" 12 13 // Used to correlate favicons to imported bookmarks. 14 struct ImportedFaviconUsage { 15 ImportedFaviconUsage(); 16 ~ImportedFaviconUsage(); 17 18 // The URL of the favicon. 19 GURL favicon_url; 20 21 // The raw png-encoded data. 22 std::vector<unsigned char> png_data; 23 24 // The list of URLs using this favicon. 25 std::set<GURL> urls; 26 }; 27 28 #endif // CHROME_COMMON_IMPORTER_IMPORTED_FAVICON_USAGE_H_ 29