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

Side by Side Diff: content/child/request_extra_data.h

Issue 183993004: Tease apart ServiceWorkerNetworkProvider from other stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/child/npapi/plugin_url_fetcher.cc ('k') | content/child/request_extra_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHILD_REQUEST_EXTRA_DATA_H_ 5 #ifndef CONTENT_CHILD_REQUEST_EXTRA_DATA_H_
6 #define CONTENT_CHILD_REQUEST_EXTRA_DATA_H_ 6 #define CONTENT_CHILD_REQUEST_EXTRA_DATA_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/common/page_transition_types.h" 10 #include "content/public/common/page_transition_types.h"
(...skipping 12 matching lines...) Expand all
23 bool was_after_preconnect_request, 23 bool was_after_preconnect_request,
24 int render_frame_id, 24 int render_frame_id,
25 bool is_main_frame, 25 bool is_main_frame,
26 const GURL& frame_origin, 26 const GURL& frame_origin,
27 bool parent_is_main_frame, 27 bool parent_is_main_frame,
28 int parent_render_frame_id, 28 int parent_render_frame_id,
29 bool allow_download, 29 bool allow_download,
30 PageTransition transition_type, 30 PageTransition transition_type,
31 bool should_replace_current_entry, 31 bool should_replace_current_entry,
32 int transferred_request_child_id, 32 int transferred_request_child_id,
33 int transferred_request_request_id); 33 int transferred_request_request_id,
34 int service_worker_provider_id);
34 virtual ~RequestExtraData(); 35 virtual ~RequestExtraData();
35 36
36 blink::WebPageVisibilityState visibility_state() const { 37 blink::WebPageVisibilityState visibility_state() const {
37 return visibility_state_; 38 return visibility_state_;
38 } 39 }
39 int render_frame_id() const { return render_frame_id_; } 40 int render_frame_id() const { return render_frame_id_; }
40 bool is_main_frame() const { return is_main_frame_; } 41 bool is_main_frame() const { return is_main_frame_; }
41 GURL frame_origin() const { return frame_origin_; } 42 GURL frame_origin() const { return frame_origin_; }
42 bool parent_is_main_frame() const { return parent_is_main_frame_; } 43 bool parent_is_main_frame() const { return parent_is_main_frame_; }
43 int parent_render_frame_id() const { return parent_render_frame_id_; } 44 int parent_render_frame_id() const { return parent_render_frame_id_; }
44 bool allow_download() const { return allow_download_; } 45 bool allow_download() const { return allow_download_; }
45 PageTransition transition_type() const { return transition_type_; } 46 PageTransition transition_type() const { return transition_type_; }
46 bool should_replace_current_entry() const { 47 bool should_replace_current_entry() const {
47 return should_replace_current_entry_; 48 return should_replace_current_entry_;
48 } 49 }
49 int transferred_request_child_id() const { 50 int transferred_request_child_id() const {
50 return transferred_request_child_id_; 51 return transferred_request_child_id_;
51 } 52 }
52 int transferred_request_request_id() const { 53 int transferred_request_request_id() const {
53 return transferred_request_request_id_; 54 return transferred_request_request_id_;
54 } 55 }
56 int service_worker_provider_id() const {
57 return service_worker_provider_id_;
58 }
55 59
56 private: 60 private:
57 blink::WebPageVisibilityState visibility_state_; 61 blink::WebPageVisibilityState visibility_state_;
58 int render_frame_id_; 62 int render_frame_id_;
59 bool is_main_frame_; 63 bool is_main_frame_;
60 GURL frame_origin_; 64 GURL frame_origin_;
61 bool parent_is_main_frame_; 65 bool parent_is_main_frame_;
62 int parent_render_frame_id_; 66 int parent_render_frame_id_;
63 bool allow_download_; 67 bool allow_download_;
64 PageTransition transition_type_; 68 PageTransition transition_type_;
65 bool should_replace_current_entry_; 69 bool should_replace_current_entry_;
66 int transferred_request_child_id_; 70 int transferred_request_child_id_;
67 int transferred_request_request_id_; 71 int transferred_request_request_id_;
72 int service_worker_provider_id_;
68 73
69 DISALLOW_COPY_AND_ASSIGN(RequestExtraData); 74 DISALLOW_COPY_AND_ASSIGN(RequestExtraData);
70 }; 75 };
71 76
72 } // namespace content 77 } // namespace content
73 78
74 #endif // CONTENT_CHILD_REQUEST_EXTRA_DATA_H_ 79 #endif // CONTENT_CHILD_REQUEST_EXTRA_DATA_H_
OLDNEW
« no previous file with comments | « content/child/npapi/plugin_url_fetcher.cc ('k') | content/child/request_extra_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698