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

Unified Diff: components/devtools_http_handler/devtools_http_handler_delegate.h

Issue 1114503002: [DevTools] Cleanup DevToolsTarget and DevToolsManagerDelegate after moving to devtools_discovery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@devtools-discovery-chrome
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698