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

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

Issue 806703004: [ServiceWorker] Use WebPageVisibilityState in ClientInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « chrome/browser/DEPS ('k') | content/child/service_worker/service_worker_dispatcher.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/child/web_url_loader_impl.h" 9 #include "content/child/web_url_loader_impl.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
11 #include "third_party/WebKit/public/platform/WebString.h" 12 #include "third_party/WebKit/public/platform/WebString.h"
12 #include "third_party/WebKit/public/platform/WebURLRequest.h" 13 #include "third_party/WebKit/public/platform/WebURLRequest.h"
13 #include "third_party/WebKit/public/web/WebPageVisibilityState.h"
14 #include "ui/base/page_transition_types.h" 14 #include "ui/base/page_transition_types.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 // Can be used by callers to store extra data on every ResourceRequest 18 // Can be used by callers to store extra data on every ResourceRequest
19 // which will be incorporated into the ResourceHostMsg_Request message 19 // which will be incorporated into the ResourceHostMsg_Request message
20 // sent by ResourceDispatcher. 20 // sent by ResourceDispatcher.
21 class CONTENT_EXPORT RequestExtraData 21 class CONTENT_EXPORT RequestExtraData
22 : public NON_EXPORTED_BASE(blink::WebURLRequest::ExtraData) { 22 : public NON_EXPORTED_BASE(blink::WebURLRequest::ExtraData) {
23 public: 23 public:
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 blink::WebString custom_user_agent_; 130 blink::WebString custom_user_agent_;
131 blink::WebString requested_with_; 131 blink::WebString requested_with_;
132 scoped_ptr<StreamOverrideParameters> stream_override_; 132 scoped_ptr<StreamOverrideParameters> stream_override_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(RequestExtraData); 134 DISALLOW_COPY_AND_ASSIGN(RequestExtraData);
135 }; 135 };
136 136
137 } // namespace content 137 } // namespace content
138 138
139 #endif // CONTENT_CHILD_REQUEST_EXTRA_DATA_H_ 139 #endif // CONTENT_CHILD_REQUEST_EXTRA_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | content/child/service_worker/service_worker_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698