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

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

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 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
« no previous file with comments | « net/url_request/test_url_request_interceptor.cc ('k') | net/url_request/url_fetcher_impl.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) 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 NET_URL_REQUEST_URL_FETCHER_CORE_H_ 5 #ifndef NET_URL_REQUEST_URL_FETCHER_CORE_H_
6 #define NET_URL_REQUEST_URL_FETCHER_CORE_H_ 6 #define NET_URL_REQUEST_URL_FETCHER_CORE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // already considered a failure based on the HTTP response code or response 117 // already considered a failure based on the HTTP response code or response
118 // headers. 118 // headers.
119 void ReceivedContentWasMalformed(); 119 void ReceivedContentWasMalformed();
120 bool GetResponseAsString(std::string* out_response_string) const; 120 bool GetResponseAsString(std::string* out_response_string) const;
121 bool GetResponseAsFilePath(bool take_ownership, 121 bool GetResponseAsFilePath(bool take_ownership,
122 base::FilePath* out_response_path); 122 base::FilePath* out_response_path);
123 123
124 // Overridden from URLRequest::Delegate: 124 // Overridden from URLRequest::Delegate:
125 virtual void OnReceivedRedirect(URLRequest* request, 125 virtual void OnReceivedRedirect(URLRequest* request,
126 const RedirectInfo& redirect_info, 126 const RedirectInfo& redirect_info,
127 bool* defer_redirect) OVERRIDE; 127 bool* defer_redirect) override;
128 virtual void OnResponseStarted(URLRequest* request) OVERRIDE; 128 virtual void OnResponseStarted(URLRequest* request) override;
129 virtual void OnReadCompleted(URLRequest* request, 129 virtual void OnReadCompleted(URLRequest* request,
130 int bytes_read) OVERRIDE; 130 int bytes_read) override;
131 virtual void OnCertificateRequested( 131 virtual void OnCertificateRequested(
132 URLRequest* request, 132 URLRequest* request,
133 SSLCertRequestInfo* cert_request_info) OVERRIDE; 133 SSLCertRequestInfo* cert_request_info) override;
134 134
135 URLFetcherDelegate* delegate() const { return delegate_; } 135 URLFetcherDelegate* delegate() const { return delegate_; }
136 static void CancelAll(); 136 static void CancelAll();
137 static int GetNumFetcherCores(); 137 static int GetNumFetcherCores();
138 static void SetEnableInterceptionForTests(bool enabled); 138 static void SetEnableInterceptionForTests(bool enabled);
139 static void SetIgnoreCertificateRequests(bool ignored); 139 static void SetIgnoreCertificateRequests(bool ignored);
140 140
141 private: 141 private:
142 friend class base::RefCountedThreadSafe<URLFetcherCore>; 142 friend class base::RefCountedThreadSafe<URLFetcherCore>;
143 143
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 base::debug::StackTrace stack_trace_; 316 base::debug::StackTrace stack_trace_;
317 317
318 static base::LazyInstance<Registry> g_registry; 318 static base::LazyInstance<Registry> g_registry;
319 319
320 DISALLOW_COPY_AND_ASSIGN(URLFetcherCore); 320 DISALLOW_COPY_AND_ASSIGN(URLFetcherCore);
321 }; 321 };
322 322
323 } // namespace net 323 } // namespace net
324 324
325 #endif // NET_URL_REQUEST_URL_FETCHER_CORE_H_ 325 #endif // NET_URL_REQUEST_URL_FETCHER_CORE_H_
OLDNEW
« no previous file with comments | « net/url_request/test_url_request_interceptor.cc ('k') | net/url_request/url_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698