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

Side by Side Diff: components/favicon/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_FAVICON_DRIVER_H_
6 #define COMPONENTS_FAVICON_CONTENT_FAVICON_DRIVER_H_
7
8 #include "base/macros.h"
9
10 class Profile;
11
12 // Interface that allows Favicon core code to interact with its driver
13 // (i.e., obtain information from it and give information to it).
14 class FaviconDriver {
15 public:
16 FaviconDriver() {}
17 virtual ~FaviconDriver() {}
18
19 // Returns whether the user is operating in an off-the-record context.
20 virtual bool IsOffTheRecord() = 0;
21
22 private:
23 DISALLOW_COPY_AND_ASSIGN(FaviconDriver);
24 };
25
26 #endif // COMPONENTS_FAVICON_CONTENT_FAVICON_DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698