Index: chrome/browser/chromeos/login/auth_response_handler.h |
diff --git a/chrome/browser/chromeos/login/auth_response_handler.h b/chrome/browser/chromeos/login/auth_response_handler.h |
deleted file mode 100644 |
index 5ffab969bc6dc67cf7cf75e421b4b61df6ffdd51..0000000000000000000000000000000000000000 |
--- a/chrome/browser/chromeos/login/auth_response_handler.h |
+++ /dev/null |
@@ -1,39 +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_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ |
-#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ |
-#pragma once |
- |
-#include <string> |
- |
-#include "content/public/common/url_fetcher_delegate.h" |
- |
-class GURL; |
- |
-namespace chromeos { |
- |
-// The success code specified by the HTTP spec. |
-extern const int kHttpSuccess; |
- |
-class AuthResponseHandler { |
- public: |
- AuthResponseHandler() {} |
- virtual ~AuthResponseHandler() {} |
- |
- // True if this object can handle responses from |url|, false otherwise. |
- virtual bool CanHandle(const GURL& url) = 0; |
- |
- // Caller takes ownership of return value. |
- // Takes in |to_process|, creates an appropriate URLFetcher to handle |
- // the next step, sets |catcher| to get called back when that fetcher is done. |
- // Starts the fetch and returns the fetcher, so the the caller can handle |
- // the object lifetime. |
- virtual content::URLFetcher* Handle(const std::string& to_process, |
- content::URLFetcherDelegate* catcher) = 0; |
-}; |
- |
-} // namespace chromeos |
- |
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ |