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

Unified Diff: content/public/renderer/render_frame.h

Issue 2963913002: Factor DRP PreviewsState logic out of content (Closed)
Patch Set: Change WebDataSource to WebDocumentLoader Created 3 years, 4 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: content/public/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index a1b8056ce25c24414fea0d651d17b3d9127e0b65..b1b4a18ed67cfc49f9a465ef781f6ab705eba6d6 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -249,6 +249,10 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
// Forcefully detaches all connected DevTools clients.
virtual void DetachDevToolsForTest() = 0;
+ // Sets the PreviewsState of this frame, a bitmask of potentially several
+ // Previews optimizations.
+ virtual void SetPreviewsState(PreviewsState previews_state) = 0;
+
// Returns the PreviewsState of this frame, a bitmask of potentially several
// Previews optimizations.
virtual PreviewsState GetPreviewsState() const = 0;
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698