summaryrefslogtreecommitdiffstats
path: root/google_apis
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-27 02:46:05 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-27 02:46:05 +0000
commitcef372905872fa0c92ed9a163cfa3cc66bde87f1 (patch)
tree352a6540642497068bfec633c8dc3a0f486ab73f /google_apis
parentcac326b5df02531fd2f37c83a2f0872166f12195 (diff)
downloadchromium_src-cef372905872fa0c92ed9a163cfa3cc66bde87f1.zip
chromium_src-cef372905872fa0c92ed9a163cfa3cc66bde87f1.tar.gz
chromium_src-cef372905872fa0c92ed9a163cfa3cc66bde87f1.tar.bz2
Delete some dead code.
Found by a tweaked -Wunused-member-function Nuno Lopes is working on. BUG=none R=brettw@chromium.org, miket@chromium.org, rsleevi@chromium.org, sky@chromium.org TBR=rogerta, sky Review URL: https://codereview.chromium.org/213363003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r--google_apis/gaia/google_service_auth_error.cc17
-rw-r--r--google_apis/gaia/google_service_auth_error.h7
2 files changed, 0 insertions, 24 deletions
diff --git a/google_apis/gaia/google_service_auth_error.cc b/google_apis/gaia/google_service_auth_error.cc
index 736bbd6..d968136 100644
--- a/google_apis/gaia/google_service_auth_error.cc
+++ b/google_apis/gaia/google_service_auth_error.cc
@@ -81,12 +81,6 @@ GoogleServiceAuthError::GoogleServiceAuthError(
error_message_(error_message) {
}
-GoogleServiceAuthError::GoogleServiceAuthError(const std::string& error_message)
- : state_(INVALID_GAIA_CREDENTIALS),
- network_error_(0),
- error_message_(error_message) {
-}
-
// static
GoogleServiceAuthError
GoogleServiceAuthError::FromConnectionError(int error) {
@@ -259,14 +253,3 @@ GoogleServiceAuthError::GoogleServiceAuthError(
captcha_unlock_url, image_width, image_height),
network_error_(0) {
}
-
-GoogleServiceAuthError::GoogleServiceAuthError(
- State s,
- const std::string& captcha_token,
- const std::string& prompt_text,
- const std::string& alternate_text,
- int field_length)
- : state_(s),
- second_factor_(captcha_token, prompt_text, alternate_text, field_length),
- network_error_(0) {
-}
diff --git a/google_apis/gaia/google_service_auth_error.h b/google_apis/gaia/google_service_auth_error.h
index 19fdb51..3d441ef 100644
--- a/google_apis/gaia/google_service_auth_error.h
+++ b/google_apis/gaia/google_service_auth_error.h
@@ -189,8 +189,6 @@ class GoogleServiceAuthError {
// Construct a GoogleServiceAuthError from |state| and |error_message|.
GoogleServiceAuthError(State state, const std::string& error_message);
- explicit GoogleServiceAuthError(const std::string& error_message);
-
GoogleServiceAuthError(State s, const std::string& captcha_token,
const GURL& captcha_audio_url,
const GURL& captcha_image_url,
@@ -198,11 +196,6 @@ class GoogleServiceAuthError {
int image_width,
int image_height);
- GoogleServiceAuthError(State s, const std::string& captcha_token,
- const std::string& prompt_text,
- const std::string& alternate_text,
- int field_length);
-
State state_;
Captcha captcha_;
SecondFactor second_factor_;