1 // Copyright 2014 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.
5 #ifndef COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_OBSERVER_H_
6 #define COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_OBSERVER_H_
8 #include "base/macros.h"
16 // An observer implemented by classes which are interested in event from
18 class FaviconDriverObserver
{
20 FaviconDriverObserver() {}
21 virtual ~FaviconDriverObserver() {}
23 // Called when favicon |image| is retrieved from either web site or cached
25 virtual void OnFaviconAvailable(const gfx::Image
& image
) = 0;
28 DISALLOW_COPY_AND_ASSIGN(FaviconDriverObserver
);
31 } // namespace favicon
33 #endif // COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_OBSERVER_H_