You added your personal code to a browser extension..
I can't see how google is in the wrong. Unless google allows anyone to change this extension for personal reasons and they only flagged her. Could someone change it to let everyone know they are selling cookies or accepting donations to their church.
From what I understand this is actually how google communicates policies and the like via their employees, for which it is legally required to notify such employees via electronic medium if electronic medium is the primary communiation factor. This is based off of the engineer's medium article though.
That's not how Google works. She mentions in the Gizmodo article that she had ownership over these files, which isn't given out casually. Creating these policy notifications would have been a core part of her work.
I can't see how google is in the wrong. Unless google allows anyone to change this extension for personal reasons and they only flagged her. Could someone change it to let everyone know they are selling cookies or accepting donations to their church.