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

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

Issue 6056007: net: Add namespace net to the remaining files under url_request directory. (Closed)
Patch Set: chromeos fixes Created 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 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_IMAGE_DOWNLOADER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_IMAGE_DOWNLOADER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_IMAGE_DOWNLOADER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_IMAGE_DOWNLOADER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
(...skipping 12 matching lines...) Expand all
24 // Object is deleted as reference counted object. 24 // Object is deleted as reference counted object.
25 ImageDownloader(ImageDecoder::Delegate* delegate, 25 ImageDownloader(ImageDecoder::Delegate* delegate,
26 const GURL& image_url, 26 const GURL& image_url,
27 const std::string& auth_token); 27 const std::string& auth_token);
28 virtual ~ImageDownloader() {} 28 virtual ~ImageDownloader() {}
29 29
30 private: 30 private:
31 // Overriden from URLFetcher::Delegate: 31 // Overriden from URLFetcher::Delegate:
32 virtual void OnURLFetchComplete(const URLFetcher* source, 32 virtual void OnURLFetchComplete(const URLFetcher* source,
33 const GURL& url, 33 const GURL& url,
34 const URLRequestStatus& status, 34 const net::URLRequestStatus& status,
35 int response_code, 35 int response_code,
36 const ResponseCookies& cookies, 36 const ResponseCookies& cookies,
37 const std::string& data); 37 const std::string& data);
38 38
39 ImageDecoder::Delegate* delegate_; 39 ImageDecoder::Delegate* delegate_;
40 scoped_ptr<URLFetcher> image_fetcher_; 40 scoped_ptr<URLFetcher> image_fetcher_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(ImageDownloader); 42 DISALLOW_COPY_AND_ASSIGN(ImageDownloader);
43 }; 43 };
44 44
45 } // namespace chromeos 45 } // namespace chromeos
46 46
47 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_IMAGE_DOWNLOADER_H_ 47 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_IMAGE_DOWNLOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/cookie_fetcher.h ('k') | chrome/browser/chromeos/login/image_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698