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

Side by Side Diff: content/common/service_worker_interfaces.h

Issue 118103002: Add IPC stubs between browser and ServiceWorker's worker context in the child process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
alecflett 2013/12/19 00:59:11 Quite minor: the name of this file doesn't feel ri
kinuko 2013/12/20 08:01:09 I was thinking about having 'common' types / defin
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_COMMON_SERVICE_WORKER_INTERFACES_H_
6 #define CONTENT_COMMON_SERVICE_WORKER_INTERFACES_H_
7
8 #include <map>
9 #include <string>
10
11 #include "base/basictypes.h"
12 #include "content/common/content_export.h"
13 #include "url/gurl.h"
14
15 namespace content {
16
17 struct CONTENT_EXPORT ServiceWorkerFetchRequest {
18 GURL url;
19 std::string method;
20 std::string referrer;
alecflett 2013/12/19 00:59:11 What is referrer? Does it overlap with the "Referr
kinuko 2013/12/20 08:01:09 Some of them are taken from old prototype code, bu
21 std::map<std::string, std::string> headers;
22 bool is_main_resource_load;
23
24 ServiceWorkerFetchRequest();
alecflett 2013/12/19 00:59:11 If you're going to put constructors on this, is it
kinuko 2013/12/20 08:01:09 Yup. Will do when this struct/class's become more
25 ~ServiceWorkerFetchRequest();
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_COMMON_SERVICE_WORKER_INTERFACES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698