Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: google_apis/gaia/oauth_request_signer.cc

Issue 12310041: experiment with -Wimplicit-fallthrough Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: google_apis/gaia/oauth_request_signer.cc
diff --git a/google_apis/gaia/oauth_request_signer.cc b/google_apis/gaia/oauth_request_signer.cc
index 115c14d6f01f8c1f8ed43f4956abfa4d8af8daa3..519cab72ea331f6ea598a9ca7cd5d34199a88136 100644
--- a/google_apis/gaia/oauth_request_signer.cc
+++ b/google_apis/gaia/oauth_request_signer.cc
@@ -409,7 +409,7 @@ bool OAuthRequestSigner::SignURL(
switch (http_method) {
case GET_METHOD:
signed_text = request_base_url.spec() + '?';
- // Intentionally falling through
+ FALLTHROUGH_INTENDED;
case POST_METHOD:
signed_text += BuildBaseStringParameters(parameters);
break;
« no previous file with comments | « content/renderer/pepper/pepper_platform_context_3d.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698