Commit 3206968a authored by Kelvin Jiang's avatar Kelvin Jiang Committed by Commit Bot

Fix typo in extension_function.h

Fix typo occurence with occurrence in 1 file (first change to Chromium!)

Change-Id: I6edd6784ffd54a1f4bf0bc056692cfd89ad65ca7
Reviewed-on: https://chromium-review.googlesource.com/c/1257667Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Commit-Queue: Kelvin Jiang <kelvinjiang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595961}
parent 0c05f13e
...@@ -347,7 +347,7 @@ class ExtensionFunction ...@@ -347,7 +347,7 @@ class ExtensionFunction
// Error. chrome.runtime.lastError.message will be set to |error|. // Error. chrome.runtime.lastError.message will be set to |error|.
ResponseValue Error(const std::string& error); ResponseValue Error(const std::string& error);
// Error with formatting. Args are processed using // Error with formatting. Args are processed using
// ErrorUtils::FormatErrorMessage, that is, each occurence of * is replaced // ErrorUtils::FormatErrorMessage, that is, each occurrence of * is replaced
// by the corresponding |s*|: // by the corresponding |s*|:
// Error("Error in *: *", "foo", "bar") <--> Error("Error in foo: bar"). // Error("Error in *: *", "foo", "bar") <--> Error("Error in foo: bar").
ResponseValue Error(const std::string& format, const std::string& s1); ResponseValue Error(const std::string& format, const std::string& s1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment