| Index: components/devtools_http_handler/devtools_http_handler_delegate.h
|
| diff --git a/components/devtools_http_handler/devtools_http_handler_delegate.h b/components/devtools_http_handler/devtools_http_handler_delegate.h
|
| index 83235aeda1af6196d625cc484e91886a329eb003..8a45ca1141ad6c52e0e67e14861693cd5d96bc80 100644
|
| --- a/components/devtools_http_handler/devtools_http_handler_delegate.h
|
| +++ b/components/devtools_http_handler/devtools_http_handler_delegate.h
|
| @@ -7,7 +7,7 @@
|
|
|
| #include <string>
|
|
|
| -#include "base/files/file_path.h"
|
| +#include "url/gurl.h"
|
|
|
| namespace devtools_http_handler {
|
|
|
| @@ -22,6 +22,10 @@ class DevToolsHttpHandlerDelegate {
|
| // Returns frontend resource data by |path|. Only used if
|
| // |BundlesFrontendResources| returns |true|.
|
| virtual std::string GetFrontendResource(const std::string& path) = 0;
|
| +
|
| + // Get a thumbnail for a given page. Returns non-empty string iff we have the
|
| + // thumbnail.
|
| + virtual std::string GetPageThumbnailData(const GURL& url) = 0;
|
| };
|
|
|
| } // namespace devtools_http_handler
|
|
|