summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_script_fetcher_impl.h
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 17:24:26 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 17:24:26 +0000
commitc4c1b4834a125836e813a8297e2199073977d671 (patch)
treef51c1d124a7749a60e1cd625f71a0be11c15e556 /net/proxy/proxy_script_fetcher_impl.h
parent800df5fae2689382fd79163979bd701869164c67 (diff)
downloadchromium_src-c4c1b4834a125836e813a8297e2199073977d671.zip
chromium_src-c4c1b4834a125836e813a8297e2199073977d671.tar.gz
chromium_src-c4c1b4834a125836e813a8297e2199073977d671.tar.bz2
Add OVERRIDE throughout net/proxy/*
In the process I discovered 2 dummy virtual overrides of NetworkDelegate interface. (Interface it was trying to overwrite no longer exists). Review URL: http://codereview.chromium.org/7484010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_script_fetcher_impl.h')
-rw-r--r--net/proxy/proxy_script_fetcher_impl.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/net/proxy/proxy_script_fetcher_impl.h b/net/proxy/proxy_script_fetcher_impl.h
index 8cff42f..8482bd93 100644
--- a/net/proxy/proxy_script_fetcher_impl.h
+++ b/net/proxy/proxy_script_fetcher_impl.h
@@ -7,6 +7,7 @@
#pragma once
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
@@ -41,7 +42,7 @@ class NET_API ProxyScriptFetcherImpl : public ProxyScriptFetcher,
base::TimeDelta SetTimeoutConstraint(base::TimeDelta timeout);
size_t SetSizeConstraint(size_t size_bytes);
- virtual void OnResponseCompleted(URLRequest* request);
+ void OnResponseCompleted(URLRequest* request);
// ProxyScriptFetcher methods:
virtual int Fetch(const GURL& url, string16* text,
@@ -51,11 +52,11 @@ class NET_API ProxyScriptFetcherImpl : public ProxyScriptFetcher,
// URLRequest::Delegate methods:
virtual void OnAuthRequired(URLRequest* request,
- AuthChallengeInfo* auth_info);
+ AuthChallengeInfo* auth_info) OVERRIDE;
virtual void OnSSLCertificateError(URLRequest* request, int cert_error,
- X509Certificate* cert);
- virtual void OnResponseStarted(URLRequest* request);
- virtual void OnReadCompleted(URLRequest* request, int num_bytes);
+ X509Certificate* cert) OVERRIDE;
+ virtual void OnResponseStarted(URLRequest* request) OVERRIDE;
+ virtual void OnReadCompleted(URLRequest* request, int num_bytes) OVERRIDE;
private:
enum { kBufSize = 4096 };