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

Unified Diff: content/renderer/savable_resources.h

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 years, 6 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/savable_resources.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/savable_resources.h
diff --git a/content/renderer/savable_resources.h b/content/renderer/savable_resources.h
index 93e665325af5f86e0c3a589ef56aaec581289da8..2ccefe0fff89ce4f05b60d28126d2488497b2957 100644
--- a/content/renderer/savable_resources.h
+++ b/content/renderer/savable_resources.h
@@ -16,7 +16,7 @@
namespace blink {
class WebElement;
-class WebFrame;
+class WebLocalFrame;
class WebString;
}
@@ -45,11 +45,11 @@ struct SavableResourcesResult {
DISALLOW_COPY_AND_ASSIGN(SavableResourcesResult);
};
-// Get all savable resource links from specified webframe.
+// Get all the savable resource links from the specified |frame|.
// Returns true if the saved resources links have been saved successfully.
// Otherwise returns false (i.e. if the frame contains a non-savable content).
CONTENT_EXPORT bool GetSavableResourceLinksForFrame(
- blink::WebFrame* frame,
+ blink::WebLocalFrame* frame,
SavableResourcesResult* result);
// Returns the value in an elements resource url attribute. For IMG, SCRIPT or
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/savable_resources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698