Commit 6878e9af authored by Julien Brianceau's avatar Julien Brianceau Committed by Commit Bot

content: Fix reponse -> response typos in comments

Bug: none
Change-Id: I2014adfa408153e801a5c5b94423e63ecb08c48b
Reviewed-on: https://chromium-review.googlesource.com/579191Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488318}
parent df412bd5
...@@ -1733,7 +1733,7 @@ IN_PROC_BROWSER_TEST_F(DownloadContentTest, RemoveResumingDownload) { ...@@ -1733,7 +1733,7 @@ IN_PROC_BROWSER_TEST_F(DownloadContentTest, RemoveResumingDownload) {
request_start_handler.WaitForCallback(); request_start_handler.WaitForCallback();
// At this point, the download resumption request has been sent out, but the // At this point, the download resumption request has been sent out, but the
// reponse hasn't been received yet. // response hasn't been received yet.
download->Remove(); download->Remove();
request_start_handler.RespondWith(std::string(), net::OK); request_start_handler.RespondWith(std::string(), net::OK);
......
...@@ -173,7 +173,7 @@ class CONTENT_EXPORT MimeSniffingResourceHandler ...@@ -173,7 +173,7 @@ class CONTENT_EXPORT MimeSniffingResourceHandler
bool must_download_; bool must_download_;
bool must_download_is_set_; bool must_download_is_set_;
// Used to buffer the reponse received until replay. // Used to buffer the response received until replay.
scoped_refptr<ResourceResponse> response_; scoped_refptr<ResourceResponse> response_;
scoped_refptr<net::IOBuffer> read_buffer_; scoped_refptr<net::IOBuffer> read_buffer_;
int read_buffer_size_; int read_buffer_size_;
......
...@@ -411,7 +411,7 @@ void NavigationURLLoaderNetworkService::OnReceiveResponse( ...@@ -411,7 +411,7 @@ void NavigationURLLoaderNetworkService::OnReceiveResponse(
const base::Optional<net::SSLInfo>& ssl_info, const base::Optional<net::SSLInfo>& ssl_info,
mojom::DownloadedTempFilePtr downloaded_file) { mojom::DownloadedTempFilePtr downloaded_file) {
// TODO(scottmg): This needs to do more of what // TODO(scottmg): This needs to do more of what
// NavigationResourceHandler::OnReponseStarted() does. Or maybe in // NavigationResourceHandler::OnResponseStarted() does. Or maybe in
// OnStartLoadingResponseBody(). // OnStartLoadingResponseBody().
if (ssl_info && ssl_info->cert) if (ssl_info && ssl_info->cert)
NavigationResourceHandler::GetSSLStatusForRequest(*ssl_info, &ssl_status_); NavigationResourceHandler::GetSSLStatusForRequest(*ssl_info, &ssl_status_);
......
...@@ -456,7 +456,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl ...@@ -456,7 +456,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl
// Set the RenderView background transparency. // Set the RenderView background transparency.
void SetBackgroundOpaque(bool opaque); void SetBackgroundOpaque(bool opaque);
// Called when the reponse to a pending mouse lock request has arrived. // Called when the response to a pending mouse lock request has arrived.
// Returns true if |allowed| is true and the mouse has been successfully // Returns true if |allowed| is true and the mouse has been successfully
// locked. // locked.
bool GotResponseToLockMouseRequest(bool allowed); bool GotResponseToLockMouseRequest(bool allowed);
......
...@@ -77,7 +77,7 @@ class CONTENT_EXPORT BlobTransportController { ...@@ -77,7 +77,7 @@ class CONTENT_EXPORT BlobTransportController {
scoped_refptr<base::SingleThreadTaskRunner> main_runner); scoped_refptr<base::SingleThreadTaskRunner> main_runner);
// This responds to the request using the |sender|. If we need to save files // This responds to the request using the |sender|. If we need to save files
// then we we hold onto the sender to send the (possibly multiple) reponses // then we we hold onto the sender to send the (possibly multiple) responses
// asynchronously. Use CancelAllBlobTransfers to stop usage of the |sender|. // asynchronously. Use CancelAllBlobTransfers to stop usage of the |sender|.
// We close the file handles once we're done writing to them. // We close the file handles once we're done writing to them.
void OnMemoryRequest( void OnMemoryRequest(
......
...@@ -658,7 +658,7 @@ class WebContents : public PageNavigator, ...@@ -658,7 +658,7 @@ class WebContents : public PageNavigator,
// Gets the preferred size of the contents. // Gets the preferred size of the contents.
virtual gfx::Size GetPreferredSize() const = 0; virtual gfx::Size GetPreferredSize() const = 0;
// Called when the reponse to a pending mouse lock request has arrived. // Called when the response to a pending mouse lock request has arrived.
// Returns true if |allowed| is true and the mouse has been successfully // Returns true if |allowed| is true and the mouse has been successfully
// locked. // locked.
virtual bool GotResponseToLockMouseRequest(bool allowed) = 0; virtual bool GotResponseToLockMouseRequest(bool allowed) = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment