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

Side by Side Diff: content/browser/service_worker/service_worker_request_handler.h

Issue 208843004: Add the beginning of a public Service Worker API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix kinuko's comments. Created 6 years, 9 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_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/supports_user_data.h" 11 #include "base/supports_user_data.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/common/service_worker/service_worker_status_code.h" 13 #include "content/public/common/service_worker_status_code.h"
14 #include "net/url_request/url_request_job_factory.h" 14 #include "net/url_request/url_request_job_factory.h"
15 #include "webkit/common/resource_type.h" 15 #include "webkit/common/resource_type.h"
16 16
17 namespace net { 17 namespace net {
18 class NetworkDelegate; 18 class NetworkDelegate;
19 class URLRequest; 19 class URLRequest;
20 } 20 }
21 21
22 namespace content { 22 namespace content {
23 23
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 scoped_refptr<ServiceWorkerURLRequestJob> job_; 83 scoped_refptr<ServiceWorkerURLRequestJob> job_;
84 84
85 base::WeakPtrFactory<ServiceWorkerRequestHandler> weak_factory_; 85 base::WeakPtrFactory<ServiceWorkerRequestHandler> weak_factory_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRequestHandler); 87 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRequestHandler);
88 }; 88 };
89 89
90 } // namespace content 90 } // namespace content
91 91
92 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_ 92 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698