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

Side by Side Diff: content/browser/appcache/appcache_interceptor.h

Issue 370833002: Move resource_type.* from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos fix Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_
7 7
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/common/resource_type.h"
10 #include "net/url_request/url_request.h" 11 #include "net/url_request/url_request.h"
11 #include "url/gurl.h" 12 #include "url/gurl.h"
12 #include "webkit/common/resource_type.h"
13 13
14 namespace content { 14 namespace content {
15 class AppCacheRequestHandler; 15 class AppCacheRequestHandler;
16 class AppCacheServiceImpl; 16 class AppCacheServiceImpl;
17 17
18 // An interceptor to hijack requests and potentially service them out of 18 // An interceptor to hijack requests and potentially service them out of
19 // the appcache. 19 // the appcache.
20 class CONTENT_EXPORT AppCacheInterceptor 20 class CONTENT_EXPORT AppCacheInterceptor
21 : public net::URLRequest::Interceptor { 21 : public net::URLRequest::Interceptor {
22 public: 22 public:
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 static void SetHandler(net::URLRequest* request, 70 static void SetHandler(net::URLRequest* request,
71 AppCacheRequestHandler* handler); 71 AppCacheRequestHandler* handler);
72 static AppCacheRequestHandler* GetHandler(net::URLRequest* request); 72 static AppCacheRequestHandler* GetHandler(net::URLRequest* request);
73 73
74 DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor); 74 DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor);
75 }; 75 };
76 76
77 } // namespace content 77 } // namespace content
78 78
79 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ 79 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698