summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_browser_context.cc
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 19:30:55 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 19:30:55 +0000
commit871da305e61696753db715bf68fedec2b071fde4 (patch)
treee485e66cd37a1f14d0e72adc29cdb6fbbe38267b /content/shell/shell_browser_context.cc
parent66149a5cbd355757e63a82b9d3280cc6e0d36da8 (diff)
downloadchromium_src-871da305e61696753db715bf68fedec2b071fde4.zip
chromium_src-871da305e61696753db715bf68fedec2b071fde4.tar.gz
chromium_src-871da305e61696753db715bf68fedec2b071fde4.tar.bz2
RefCounted types should not have public destructors, content/ remaining bits
BUG=123295 TEST=none TBR=jam Review URL: https://chromiumcodereview.appspot.com/10069054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_browser_context.cc')
-rw-r--r--content/shell/shell_browser_context.cc15
1 files changed, 9 insertions, 6 deletions
diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc
index 8c82453..678edfc 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);