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

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

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 int max_retries, 152 int max_retries,
153 const std::string& post_data_mime_type, 153 const std::string& post_data_mime_type,
154 const std::string& post_data, 154 const std::string& post_data,
155 const std::string& additional_headers); 155 const std::string& additional_headers);
156 void SetupRequestHeaders(); 156 void SetupRequestHeaders();
157 static CloudPrintURLFetcherFactory* factory(); 157 static CloudPrintURLFetcherFactory* factory();
158 158
159 scoped_ptr<net::URLFetcher> request_; 159 scoped_ptr<net::URLFetcher> request_;
160 Delegate* delegate_; 160 Delegate* delegate_;
161 int num_retries_; 161 int num_retries_;
162 net::URLFetcher::RequestType request_type_;
163 std::string additional_headers_; 162 std::string additional_headers_;
164 std::string post_data_mime_type_; 163 std::string post_data_mime_type_;
165 std::string post_data_; 164 std::string post_data_;
166 165
167 RequestType type_; 166 RequestType type_;
168 base::Time start_time_; 167 base::Time start_time_;
169 }; 168 };
170 169
171 typedef CloudPrintURLFetcher::Delegate CloudPrintURLFetcherDelegate; 170 typedef CloudPrintURLFetcher::Delegate CloudPrintURLFetcherDelegate;
172 171
173 } // namespace cloud_print 172 } // namespace cloud_print
174 173
175 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_URL_FETCHER_H_ 174 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_URL_FETCHER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/webstore_bindings.cc ('k') | chrome/service/cloud_print/printer_job_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698