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

Side by Side Diff: webkit/appcache/appcache_interceptor.h

Issue 8539047: Add OVERRIDE to webkit/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 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 | « webkit/appcache/appcache_host.h ('k') | webkit/appcache/appcache_quota_client.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 WEBKIT_APPCACHE_APPCACHE_INTERCEPTOR_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_INTERCEPTOR_H_
6 #define WEBKIT_APPCACHE_APPCACHE_INTERCEPTOR_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_INTERCEPTOR_H_
7 7
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "net/url_request/url_request.h" 10 #include "net/url_request/url_request.h"
(...skipping 25 matching lines...) Expand all
36 36
37 // May be called after response headers are complete to retrieve extra 37 // May be called after response headers are complete to retrieve extra
38 // info about the response. 38 // info about the response.
39 static void GetExtraResponseInfo(net::URLRequest* request, 39 static void GetExtraResponseInfo(net::URLRequest* request,
40 int64* cache_id, 40 int64* cache_id,
41 GURL* manifest_url); 41 GURL* manifest_url);
42 42
43 static AppCacheInterceptor* GetInstance(); 43 static AppCacheInterceptor* GetInstance();
44 44
45 protected: 45 protected:
46 // Overridde from net::URLRequest::Interceptor: 46 // Override from net::URLRequest::Interceptor:
47 virtual net::URLRequestJob* MaybeIntercept(net::URLRequest* request); 47 virtual net::URLRequestJob* MaybeIntercept(net::URLRequest* request) OVERRIDE;
48 virtual net::URLRequestJob* MaybeInterceptResponse(net::URLRequest* request); 48 virtual net::URLRequestJob* MaybeInterceptResponse(
49 virtual net::URLRequestJob* MaybeInterceptRedirect(net::URLRequest* request, 49 net::URLRequest* request) OVERRIDE;
50 const GURL& location); 50 virtual net::URLRequestJob* MaybeInterceptRedirect(
51 net::URLRequest* request,
52 const GURL& location) OVERRIDE;
51 53
52 private: 54 private:
53 friend struct DefaultSingletonTraits<AppCacheInterceptor>; 55 friend struct DefaultSingletonTraits<AppCacheInterceptor>;
54 56
55 AppCacheInterceptor(); 57 AppCacheInterceptor();
56 virtual ~AppCacheInterceptor(); 58 virtual ~AppCacheInterceptor();
57 59
58 static void SetHandler(net::URLRequest* request, 60 static void SetHandler(net::URLRequest* request,
59 AppCacheRequestHandler* handler); 61 AppCacheRequestHandler* handler);
60 static AppCacheRequestHandler* GetHandler(net::URLRequest* request); 62 static AppCacheRequestHandler* GetHandler(net::URLRequest* request);
61 63
62 DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor); 64 DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor);
63 }; 65 };
64 66
65 } // namespace appcache 67 } // namespace appcache
66 68
67 #endif // WEBKIT_APPCACHE_APPCACHE_INTERCEPTOR_H_ 69 #endif // WEBKIT_APPCACHE_APPCACHE_INTERCEPTOR_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_host.h ('k') | webkit/appcache/appcache_quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698