summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_function.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_function.h')
-rw-r--r--chrome/browser/extensions/extension_function.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_function.h b/chrome/browser/extensions/extension_function.h
index e8a77dd..6090f8a 100644
--- a/chrome/browser/extensions/extension_function.h
+++ b/chrome/browser/extensions/extension_function.h
@@ -37,7 +37,7 @@ class ExtensionFunction : public base::RefCounted<ExtensionFunction> {
// Specifies the name of the function.
void set_name(const std::string& name) { name_ = name; }
- const std::string name() const { return name_; }
+ const std::string name() { return name_; }
// Specifies the raw arguments to the function, as a JSON value.
virtual void SetArgs(const Value* args) = 0;