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

Unified Diff: content/browser/webui/web_ui_impl.h

Issue 1995113002: Rename WebUI::CallJavascriptFunction to WebUI::CallJavascriptFunctionUnsafe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/browser/tracing/tracing_ui.cc ('k') | content/browser/webui/web_ui_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_impl.h
diff --git a/content/browser/webui/web_ui_impl.h b/content/browser/webui/web_ui_impl.h
index 268c7576e80e1bb3ee9ce5b38853f5035fbb986e..a827006f16408f206ffa10e8e3eabc3c172bf716 100644
--- a/content/browser/webui/web_ui_impl.h
+++ b/content/browser/webui/web_ui_impl.h
@@ -56,22 +56,22 @@ class CONTENT_EXPORT WebUIImpl : public WebUI,
const std::string& message,
const base::ListValue& args) override;
bool CanCallJavascript() override;
- void CallJavascriptFunction(const std::string& function_name) override;
- void CallJavascriptFunction(const std::string& function_name,
- const base::Value& arg) override;
- void CallJavascriptFunction(const std::string& function_name,
- const base::Value& arg1,
- const base::Value& arg2) override;
- void CallJavascriptFunction(const std::string& function_name,
- const base::Value& arg1,
- const base::Value& arg2,
- const base::Value& arg3) override;
- void CallJavascriptFunction(const std::string& function_name,
- const base::Value& arg1,
- const base::Value& arg2,
- const base::Value& arg3,
- const base::Value& arg4) override;
- void CallJavascriptFunction(
+ void CallJavascriptFunctionUnsafe(const std::string& function_name) override;
+ void CallJavascriptFunctionUnsafe(const std::string& function_name,
+ const base::Value& arg) override;
+ void CallJavascriptFunctionUnsafe(const std::string& function_name,
+ const base::Value& arg1,
+ const base::Value& arg2) override;
+ void CallJavascriptFunctionUnsafe(const std::string& function_name,
+ const base::Value& arg1,
+ const base::Value& arg2,
+ const base::Value& arg3) override;
+ void CallJavascriptFunctionUnsafe(const std::string& function_name,
+ const base::Value& arg1,
+ const base::Value& arg2,
+ const base::Value& arg3,
+ const base::Value& arg4) override;
+ void CallJavascriptFunctionUnsafe(
const std::string& function_name,
const std::vector<const base::Value*>& args) override;
« no previous file with comments | « content/browser/tracing/tracing_ui.cc ('k') | content/browser/webui/web_ui_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698