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

Unified Diff: google_apis/gaia/gaia_auth_consumer.h

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 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/gaia_auth_consumer.h
diff --git a/google_apis/gaia/gaia_auth_consumer.h b/google_apis/gaia/gaia_auth_consumer.h
index b8f70df621b73f07d9ac30167d2b6b4b28477561..e3310a6d607bd76ecda0b7a9593c4ec0f37e1296 100644
--- a/google_apis/gaia/gaia_auth_consumer.h
+++ b/google_apis/gaia/gaia_auth_consumer.h
@@ -98,6 +98,9 @@ class GaiaAuthConsumer {
virtual void OnGetTokenResponseSuccess(const ClientOAuthResult& result) {}
virtual void OnGetTokenResponseError(const GoogleServiceAuthError& error) {}
+
+ protected:
+ GaiaAuthConsumer() = default;
};
#endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_

Powered by Google App Engine
This is Rietveld 408576698