summaryrefslogtreecommitdiffstats
path: root/chrome/browser/favicon/imported_favicon_usage.h
blob: 0da3a4f266000a5ce65f47fec20d346a2ecf9aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2013 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.

#ifndef CHROME_BROWSER_FAVICON_IMPORTED_FAVICON_USAGE_H_
#define CHROME_BROWSER_FAVICON_IMPORTED_FAVICON_USAGE_H_

#include <set>
#include <vector>

#include "url/gurl.h"

// Used to correlate favicons to imported bookmarks.
struct ImportedFaviconUsage {
  ImportedFaviconUsage();
  ~ImportedFaviconUsage();

  // The URL of the favicon.
  GURL favicon_url;

  // The raw png-encoded data.
  std::vector<unsigned char> png_data;

  // The list of URLs using this favicon.
  std::set<GURL> urls;
};

#endif  // CHROME_BROWSER_FAVICON_IMPORTED_FAVICON_USAGE_H_