summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.cc
diff options
context:
space:
mode:
authortkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 05:22:12 +0000
committertkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 05:22:12 +0000
commitbfdf36ec3bd8f644b70e9e60c597b2bf087e5970 (patch)
tree00bd4a67177ca6934e70c35714c6fe7808b0e7a1 /webkit/glue/webkitclient_impl.cc
parentfc3c62834c223bd39d323e1b73900d83aaf7ba29 (diff)
downloadchromium_src-bfdf36ec3bd8f644b70e9e60c597b2bf087e5970.zip
chromium_src-bfdf36ec3bd8f644b70e9e60c597b2bf087e5970.tar.gz
chromium_src-bfdf36ec3bd8f644b70e9e60c597b2bf087e5970.tar.bz2
Add "default:" to the WebLocalizedString switch statement in ToMessageID().
This is needed to avoid compiler warnings about enum coverage when we add new symbols to WebLocalizedString.h. This "default:" is going to be removed when a planned WebLocalizedString.h change is merged BUG=28264 TEST=none; no behavior change. Review URL: http://codereview.chromium.org/4726002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.cc')
-rw-r--r--webkit/glue/webkitclient_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc
index 01051d2..0c5766a 100644
--- a/webkit/glue/webkitclient_impl.cc
+++ b/webkit/glue/webkitclient_impl.cc
@@ -156,6 +156,10 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_KEYGEN_HIGH_GRADE_KEY;
case WebLocalizedString::KeygenMenuMediumGradeKeySize:
return IDS_KEYGEN_MED_GRADE_KEY;
+ // TODO(tkent): Remove default: when we merge the next
+ // WebLocalizedString.h change.
+ default:
+ break;
}
return -1;
}