Chromium Code Reviews| Index: components/favicon/content/content_favicon_driver.h |
| diff --git a/components/favicon/content/content_favicon_driver.h b/components/favicon/content/content_favicon_driver.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7feeffca9b9f9170df98144c3e35a3783c75c067 |
| --- /dev/null |
| +++ b/components/favicon/content/content_favicon_driver.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
|
blundell
2014/04/08 10:01:19
nit: kill (c).
jif
2014/04/08 11:55:47
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ |
| +#define COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ |
| + |
| +#include "components/favicon/core/favicon_driver.h" |
| + |
| +#include "content/public/browser/web_contents_observer.h" |
| + |
| +class FaviconClient; |
| + |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| +class ContentFaviconDriver : public FaviconDriver, |
|
blundell
2014/04/08 10:01:19
Add a class-level comment.
jif
2014/04/08 11:55:47
Done.
|
| + public content::WebContentsObserver { |
| + public: |
| + ContentFaviconDriver(content::WebContents* web_contents); |
| + virtual ~ContentFaviconDriver(); |
| + |
| + // FaviconDriver implementation. |
| + virtual bool IsOffTheRecord() OVERRIDE; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); |
| +}; |
| + |
| +#endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ |