| Index: content/shell/shell_browser_context.cc
|
| diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc
|
| index 8c824532a0f7086468b557e5d1a501166cb6c982..678edfce886cc2b973df8a040c0c7456c6ba69c6 100644
|
| --- a/content/shell/shell_browser_context.cc
|
| +++ b/content/shell/shell_browser_context.cc
|
| @@ -39,8 +39,7 @@ const char kXdgConfigHomeEnvVar[] = "XDG_CONFIG_HOME";
|
|
|
| class ShellGeolocationPermissionContext : public GeolocationPermissionContext {
|
| public:
|
| - ShellGeolocationPermissionContext() {
|
| - }
|
| + ShellGeolocationPermissionContext() {}
|
|
|
| // GeolocationPermissionContext implementation).
|
| virtual void RequestGeolocationPermission(
|
| @@ -60,22 +59,26 @@ class ShellGeolocationPermissionContext : public GeolocationPermissionContext {
|
| NOTIMPLEMENTED();
|
| }
|
|
|
| + protected:
|
| + virtual ~ShellGeolocationPermissionContext() {};
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(ShellGeolocationPermissionContext);
|
| };
|
|
|
| class ShellSpeechRecognitionPreferences : public SpeechRecognitionPreferences {
|
| public:
|
| - ShellSpeechRecognitionPreferences() {
|
| - }
|
| + ShellSpeechRecognitionPreferences() {}
|
|
|
| // Overridden from SpeechRecognitionPreferences:
|
| virtual bool FilterProfanities() const OVERRIDE {
|
| return false;
|
| }
|
|
|
| - virtual void SetFilterProfanities(bool filter_profanities) OVERRIDE {
|
| - }
|
| + virtual void SetFilterProfanities(bool filter_profanities) OVERRIDE {}
|
| +
|
| + protected:
|
| + virtual ~ShellSpeechRecognitionPreferences() {}
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(ShellSpeechRecognitionPreferences);
|
|
|