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

Unified Diff: extensions/renderer/script_injection_callback.h

Issue 2556153002: [Extensions] Convert more callers of CallModuleMethod (Closed)
Patch Set: revert doc change 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
« no previous file with comments | « extensions/renderer/script_injection.cc ('k') | extensions/renderer/script_injection_callback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/script_injection_callback.h
diff --git a/extensions/renderer/script_injection_callback.h b/extensions/renderer/script_injection_callback.h
index 14819277cbd711ad741e184c7941f3b34c8f6704..c293b2241e154008cd5654158d5d8467686ad630 100644
--- a/extensions/renderer/script_injection_callback.h
+++ b/extensions/renderer/script_injection_callback.h
@@ -5,15 +5,13 @@
#ifndef EXTENSIONS_RENDERER_SCRIPT_INJECTION_CALLBACK_H_
#define EXTENSIONS_RENDERER_SCRIPT_INJECTION_CALLBACK_H_
+#include <vector>
+
#include "base/callback.h"
#include "base/macros.h"
#include "third_party/WebKit/public/web/WebScriptExecutionCallback.h"
#include "v8/include/v8.h"
-namespace blink {
-template<typename T> class WebVector;
-}
-
namespace extensions {
// A wrapper around a callback to notify a script injection when injection
@@ -22,8 +20,7 @@ namespace extensions {
class ScriptInjectionCallback : public blink::WebScriptExecutionCallback {
public:
using CompleteCallback =
- base::Callback<void(
- const blink::WebVector<v8::Local<v8::Value>>& result)>;
+ base::Callback<void(const std::vector<v8::Local<v8::Value>>& result)>;
ScriptInjectionCallback(const CompleteCallback& injection_completed_callback);
~ScriptInjectionCallback() override;
« no previous file with comments | « extensions/renderer/script_injection.cc ('k') | extensions/renderer/script_injection_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698