Home | History | Annotate | Download | only in appcache
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef CONTENT_BROWSER_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
      6 #define CONTENT_BROWSER_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
      7 
      8 #include "base/basictypes.h"
      9 
     10 namespace net {
     11 class NetworkDelegate;
     12 class URLRequest;
     13 class URLRequestJob;
     14 }
     15 
     16 namespace appcache {
     17 class AppCacheServiceImpl;
     18 }
     19 
     20 namespace content {
     21 
     22 class ViewAppCacheInternalsJobFactory {
     23  public:
     24   static net::URLRequestJob* CreateJobForRequest(
     25       net::URLRequest* request,
     26       net::NetworkDelegate* network_delegate,
     27       appcache::AppCacheServiceImpl* service);
     28 
     29  private:
     30   DISALLOW_IMPLICIT_CONSTRUCTORS(ViewAppCacheInternalsJobFactory);
     31 };
     32 
     33 }  // namespace appcache
     34 
     35 #endif  // CONTENT_BROWSER_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
     36