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

Side by Side Diff: chrome/browser/chromeos/login/auth_response_handler.h

Issue 8375039: Create a content::UrlFetcher interface that lives in content/public/common and convert users to i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 12 matching lines...) Expand all
23 virtual ~AuthResponseHandler() {} 23 virtual ~AuthResponseHandler() {}
24 24
25 // True if this object can handle responses from |url|, false otherwise. 25 // True if this object can handle responses from |url|, false otherwise.
26 virtual bool CanHandle(const GURL& url) = 0; 26 virtual bool CanHandle(const GURL& url) = 0;
27 27
28 // Caller takes ownership of return value. 28 // Caller takes ownership of return value.
29 // Takes in |to_process|, creates an appropriate URLFetcher to handle 29 // Takes in |to_process|, creates an appropriate URLFetcher to handle
30 // the next step, sets |catcher| to get called back when that fetcher is done. 30 // the next step, sets |catcher| to get called back when that fetcher is done.
31 // Starts the fetch and returns the fetcher, so the the caller can handle 31 // Starts the fetch and returns the fetcher, so the the caller can handle
32 // the object lifetime. 32 // the object lifetime.
33 virtual URLFetcher* Handle(const std::string& to_process, 33 virtual content::URLFetcher* Handle(const std::string& to_process,
34 content::URLFetcherDelegate* catcher) = 0; 34 content::URLFetcherDelegate* catcher) = 0;
35 }; 35 };
36 36
37 } // namespace chromeos 37 } // namespace chromeos
38 38
39 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ 39 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/customization_document.cc ('k') | chrome/browser/chromeos/login/client_login_response_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698