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

Unified Diff: chrome/browser/net/gaia/gaia_oauth_consumer.h

Issue 139153011: Remove unused code (gaia_oauth_fetcher). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 11 months 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
« no previous file with comments | « chrome/browser/net/gaia/OWNERS ('k') | chrome/browser/net/gaia/gaia_oauth_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/gaia/gaia_oauth_consumer.h
diff --git a/chrome/browser/net/gaia/gaia_oauth_consumer.h b/chrome/browser/net/gaia/gaia_oauth_consumer.h
deleted file mode 100644
index 58c52dbc6d57216440c7db6f6dcda9ed6d32fc2b..0000000000000000000000000000000000000000
--- a/chrome/browser/net/gaia/gaia_oauth_consumer.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_
-#define CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_
-
-#include <string>
-
-class GoogleServiceAuthError;
-
-// An interface that defines the callbacks for objects to which
-// GaiaOAuthFetcher can return data.
-class GaiaOAuthConsumer {
- public:
- virtual ~GaiaOAuthConsumer() {}
-
- virtual void OnGetOAuthTokenSuccess(const std::string& oauth_token) {}
- virtual void OnGetOAuthTokenFailure(const GoogleServiceAuthError& error) {}
-
- virtual void OnOAuthGetAccessTokenSuccess(const std::string& token,
- const std::string& secret) {}
- virtual void OnOAuthGetAccessTokenFailure(
- const GoogleServiceAuthError& error) {}
-
- virtual void OnOAuthWrapBridgeSuccess(const std::string& service_scope,
- const std::string& token,
- const std::string& expires_in) {}
- virtual void OnOAuthWrapBridgeFailure(const std::string& service_scope,
- const GoogleServiceAuthError& error) {}
-
- virtual void OnUserInfoSuccess(const std::string& email) {}
- virtual void OnUserInfoFailure(const GoogleServiceAuthError& error) {}
-
- virtual void OnOAuthLoginSuccess(const std::string& sid,
- const std::string& lsid,
- const std::string& auth) {}
- virtual void OnOAuthLoginFailure(const GoogleServiceAuthError& error) {}
-
- virtual void OnOAuthRevokeTokenSuccess() {}
- virtual void OnOAuthRevokeTokenFailure(const GoogleServiceAuthError& error) {}
-};
-
-#endif // CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_
« no previous file with comments | « chrome/browser/net/gaia/OWNERS ('k') | chrome/browser/net/gaia/gaia_oauth_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698