| Index: extensions/common/install_warning.h
|
| diff --git a/extensions/common/install_warning.h b/extensions/common/install_warning.h
|
| index 6a2cb656b7c5c1ef7fccad812899bc9da5fa112f..fb3fccb29b6e6de7be242e83b0295aff933f9d24 100644
|
| --- a/extensions/common/install_warning.h
|
| +++ b/extensions/common/install_warning.h
|
| @@ -17,6 +17,9 @@ struct InstallWarning {
|
| FORMAT_TEXT,
|
| FORMAT_HTML,
|
| };
|
| + static InstallWarning Text(const std::string& message) {
|
| + return InstallWarning(FORMAT_TEXT, message);
|
| + }
|
| InstallWarning(Format format, const std::string& message)
|
| : format(format), message(message) {
|
| }
|
|
|