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

Side by Side Diff: chrome/service/cloud_print/cloud_print_url_fetcher.h

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 years, 6 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_SERVICE_CLOUD_PRINT_CLOUD_PRINT_URL_FETCHER_H_ 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_URL_FETCHER_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_URL_FETCHER_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_URL_FETCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/common/net/url_fetcher.h" 12 #include "content/common/url_fetcher.h"
13 13
14 class DictionaryValue; 14 class DictionaryValue;
15 class GURL; 15 class GURL;
16 16
17 namespace net { 17 namespace net {
18 class URLRequestStatus; 18 class URLRequestStatus;
19 } // namespace net 19 } // namespace net
20 20
21 // A wrapper around URLFetcher for CloudPrint. URLFetcher applies retry logic 21 // A wrapper around URLFetcher for CloudPrint. URLFetcher applies retry logic
22 // only on HTTP response codes >= 500. In the cloud print case, we want to 22 // only on HTTP response codes >= 500. In the cloud print case, we want to
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 scoped_ptr<URLFetcher> request_; 115 scoped_ptr<URLFetcher> request_;
116 Delegate* delegate_; 116 Delegate* delegate_;
117 int num_retries_; 117 int num_retries_;
118 std::string additional_headers_; 118 std::string additional_headers_;
119 }; 119 };
120 120
121 typedef CloudPrintURLFetcher::Delegate CloudPrintURLFetcherDelegate; 121 typedef CloudPrintURLFetcher::Delegate CloudPrintURLFetcherDelegate;
122 122
123 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_URL_FETCHER_H_ 123 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_URL_FETCHER_H_
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_helpers.cc ('k') | chrome/service/gaia/service_gaia_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698