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

Side by Side Diff: net/url_request/url_request_job.h

Issue 8568021: Add OVERRIDE to net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net only Created 9 years, 1 month 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
« no previous file with comments | « net/url_request/url_request_http_job.h ('k') | net/url_request/url_request_netlog_params.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 NET_URL_REQUEST_URL_REQUEST_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // These methods are not applicable to all connections. 180 // These methods are not applicable to all connections.
181 virtual bool GetMimeType(std::string* mime_type) const; 181 virtual bool GetMimeType(std::string* mime_type) const;
182 virtual int GetResponseCode() const; 182 virtual int GetResponseCode() const;
183 183
184 // Returns the socket address for the connection. 184 // Returns the socket address for the connection.
185 // See url_request.h for details. 185 // See url_request.h for details.
186 virtual HostPortPair GetSocketAddress() const; 186 virtual HostPortPair GetSocketAddress() const;
187 187
188 // base::SystemMonitor::PowerObserver methods: 188 // base::SystemMonitor::PowerObserver methods:
189 // We invoke URLRequestJob::Kill on suspend (crbug.com/4606). 189 // We invoke URLRequestJob::Kill on suspend (crbug.com/4606).
190 virtual void OnSuspend(); 190 virtual void OnSuspend() OVERRIDE;
191 191
192 // Called after a NetworkDelegate has been informed that the URLRequest 192 // Called after a NetworkDelegate has been informed that the URLRequest
193 // will be destroyed. This is used to track that no pending callbacks 193 // will be destroyed. This is used to track that no pending callbacks
194 // exist at destruction time of the URLRequestJob, unless they have been 194 // exist at destruction time of the URLRequestJob, unless they have been
195 // canceled by an explicit NetworkDelegate::NotifyURLRequestDestroyed() call. 195 // canceled by an explicit NetworkDelegate::NotifyURLRequestDestroyed() call.
196 virtual void NotifyURLRequestDestroyed(); 196 virtual void NotifyURLRequestDestroyed();
197 197
198 protected: 198 protected:
199 friend class base::RefCounted<URLRequestJob>; 199 friend class base::RefCounted<URLRequestJob>;
200 virtual ~URLRequestJob(); 200 virtual ~URLRequestJob();
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 int deferred_redirect_status_code_; 374 int deferred_redirect_status_code_;
375 375
376 ScopedRunnableMethodFactory<URLRequestJob> method_factory_; 376 ScopedRunnableMethodFactory<URLRequestJob> method_factory_;
377 377
378 DISALLOW_COPY_AND_ASSIGN(URLRequestJob); 378 DISALLOW_COPY_AND_ASSIGN(URLRequestJob);
379 }; 379 };
380 380
381 } // namespace net 381 } // namespace net
382 382
383 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_ 383 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_http_job.h ('k') | net/url_request/url_request_netlog_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698