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: webkit/browser/appcache/appcache_interceptor.h

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 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 (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_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ 5 #ifndef WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_
6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_
7 7
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "net/url_request/url_request.h" 9 #include "net/url_request/url_request.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 #include "webkit/browser/webkit_storage_browser_export.h" 11 #include "webkit/browser/webkit_storage_browser_export.h"
12 #include "webkit/glue/resource_type.h" 12 #include "webkit/common/resource_type.h"
13 13
14 namespace appcache { 14 namespace appcache {
15 15
16 class AppCacheRequestHandler; 16 class AppCacheRequestHandler;
17 class AppCacheService; 17 class AppCacheService;
18 18
19 // An interceptor to hijack requests and potentially service them out of 19 // An interceptor to hijack requests and potentially service them out of
20 // the appcache. 20 // the appcache.
21 class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheInterceptor 21 class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheInterceptor
22 : public net::URLRequest::Interceptor { 22 : public net::URLRequest::Interceptor {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 static void SetHandler(net::URLRequest* request, 64 static void SetHandler(net::URLRequest* request,
65 AppCacheRequestHandler* handler); 65 AppCacheRequestHandler* handler);
66 static AppCacheRequestHandler* GetHandler(net::URLRequest* request); 66 static AppCacheRequestHandler* GetHandler(net::URLRequest* request);
67 67
68 DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor); 68 DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor);
69 }; 69 };
70 70
71 } // namespace appcache 71 } // namespace appcache
72 72
73 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ 73 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_
OLDNEW
« no previous file with comments | « webkit/browser/appcache/appcache_host.h ('k') | webkit/browser/appcache/appcache_request_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698