| Index: components/ntp_tiles/webui/ntp_tiles_internals_message_handler_client.h
|
| diff --git a/components/ntp_tiles/webui/ntp_tiles_internals_message_handler_client.h b/components/ntp_tiles/webui/ntp_tiles_internals_message_handler_client.h
|
| index 4a917008cbf2be1c1ac18e0923ac5a30bd961fcf..d26972d5fc6e725d9cd11c4f8561cea878ca9c45 100644
|
| --- a/components/ntp_tiles/webui/ntp_tiles_internals_message_handler_client.h
|
| +++ b/components/ntp_tiles/webui/ntp_tiles_internals_message_handler_client.h
|
| @@ -31,6 +31,9 @@ class NTPTilesInternalsMessageHandlerClient {
|
| // Returns the PrefService for the embedder and containing WebUI page.
|
| virtual PrefService* GetPrefs() = 0;
|
|
|
| + // False if in a browser mode (e.g. incognito) where tiles aren't supported.
|
| + virtual bool SupportsNTPTiles() = 0;
|
| +
|
| // Returns true if the given source is enabled (even if, in practice, none of
|
| // the tiles would come from it).
|
| virtual bool DoesSourceExist(NTPTileSource source) = 0;
|
|
|