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

Unified Diff: extensions/renderer/script_injection.h

Issue 2556153002: [Extensions] Convert more callers of CallModuleMethod (Closed)
Patch Set: revertdoc Created 4 years 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: extensions/renderer/script_injection.h
diff --git a/extensions/renderer/script_injection.h b/extensions/renderer/script_injection.h
index 5d2c671d70a0a248d47a451d33c133175aa209c9..e5cd8ac5434061c83b503d75e8af5122ce9df21f 100644
--- a/extensions/renderer/script_injection.h
+++ b/extensions/renderer/script_injection.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <memory>
+#include <vector>
#include "base/callback.h"
#include "base/macros.h"
@@ -18,10 +19,6 @@
struct HostID;
-namespace blink {
-template<typename T> class WebVector;
-}
-
namespace content {
class RenderFrame;
}
@@ -102,8 +99,7 @@ class ScriptInjection {
size_t* num_injected_js_scripts);
// Called when JS injection for the given frame has been completed.
- void OnJsInjectionCompleted(
- const blink::WebVector<v8::Local<v8::Value> >& results);
+ void OnJsInjectionCompleted(const std::vector<v8::Local<v8::Value>>& results);
// Inject any CSS source into the frame for the injection.
void InjectCss(std::set<std::string>* injected_stylesheets,

Powered by Google App Engine
This is Rietveld 408576698