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

Unified Diff: content/renderer/mojo_context_state.h

Issue 2869663002: ResourceFetcher::Start should be given a WebLocalFrame (Closed)
Patch Set: fix Created 3 years, 7 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/fetchers/resource_fetcher_impl.cc ('k') | content/renderer/mojo_context_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mojo_context_state.h
diff --git a/content/renderer/mojo_context_state.h b/content/renderer/mojo_context_state.h
index 1af69b7766bbdc14f7bc4524d0036a59c6a85bc9..7b67ee3f6bae2b788c2682be49316959beccf3f4 100644
--- a/content/renderer/mojo_context_state.h
+++ b/content/renderer/mojo_context_state.h
@@ -15,7 +15,7 @@
#include "v8/include/v8.h"
namespace blink {
-class WebFrame;
+class WebLocalFrame;
class WebURLResponse;
}
@@ -29,7 +29,7 @@ enum class MojoBindingsType;
// by way of gin. Non-builtin modules are downloaded by way of ResourceFetchers.
class MojoContextState : public gin::ModuleRegistryObserver {
public:
- MojoContextState(blink::WebFrame* frame,
+ MojoContextState(blink::WebLocalFrame* frame,
v8::Local<v8::Context> context,
MojoBindingsType bindings_type);
~MojoContextState() override;
@@ -61,7 +61,7 @@ class MojoContextState : public gin::ModuleRegistryObserver {
const std::vector<std::string>& dependencies) override;
// Frame script is executed in. Also used to download resources.
- blink::WebFrame* frame_;
+ blink::WebLocalFrame* frame_;
// See description above getter.
bool module_added_;
« no previous file with comments | « content/renderer/fetchers/resource_fetcher_impl.cc ('k') | content/renderer/mojo_context_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698