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

Unified Diff: chrome/browser/chromeos/login/auth_response_handler.h

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup Created 8 years, 7 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
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_
« no previous file with comments | « chrome/browser/chromeos/imageburner/burn_manager.cc ('k') | chrome/browser/chromeos/login/auth_response_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698