OLD | NEW |
(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_ |
OLD | NEW |