Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(858)

Side by Side Diff: components/favicon/content/browser/content_favicon_driver.h

Issue 227153007: Remove dependency on Profile's IsOffTheRecord in favicon_handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FAVICON_create_core_dir
Patch Set: Review fixes. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef COMPONENTS_FAVICON_CONTENT_BROWSER_CONTENT_FAVICON_DRIVER_H_
6 #define COMPONENTS_FAVICON_CONTENT_BROWSER_CONTENT_FAVICON_DRIVER_H_
7
8 #include "components/favicon/content/favicon_driver.h"
9
10 #include "content/public/browser/web_contents_observer.h"
11
12 class FaviconClient;
13
14 namespace content {
15 class WebContents;
16 }
17
18 // Implementation of the FaviconDriver based on content.
19 class ContentFaviconDriver : public FaviconDriver,
20 public content::WebContentsObserver {
21 public:
22 ContentFaviconDriver(content::WebContents* web_contents);
23 virtual ~ContentFaviconDriver();
24
25 // FaviconDriver implementation.
26 virtual bool IsOffTheRecord() OVERRIDE;
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver);
30 };
31
32 #endif // COMPONENTS_FAVICON_CONTENT_BROWSER_CONTENT_FAVICON_DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698