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

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

Issue 10780019: PPAPI (Flash): Properly honor Pepper url requests with custom user agents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: got rid of unneeded WebKit:: Created 8 years, 5 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 | « no previous file | content/common/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_COMMON_REQUEST_EXTRA_DATA_H_ 5 #ifndef CONTENT_COMMON_REQUEST_EXTRA_DATA_H_
6 #define CONTENT_COMMON_REQUEST_EXTRA_DATA_H_ 6 #define CONTENT_COMMON_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"
11 #include "webkit/glue/weburlrequest_extradata_impl.h" 11 #include "webkit/glue/weburlrequest_extradata_impl.h"
12 12
13 // The RenderView stores an instance of this class in the "extra data" of each 13 // The RenderView stores an instance of this class in the "extra data" of each
14 // ResourceRequest (see RenderView::willSendRequest). 14 // ResourceRequest (see RenderView::willSendRequest).
15 class CONTENT_EXPORT RequestExtraData 15 class CONTENT_EXPORT RequestExtraData
16 : NON_EXPORTED_BASE(public webkit_glue::WebURLRequestExtraDataImpl) { 16 : NON_EXPORTED_BASE(public webkit_glue::WebURLRequestExtraDataImpl) {
17 public: 17 public:
18 RequestExtraData(WebKit::WebReferrerPolicy referrer_policy, 18 RequestExtraData(WebKit::WebReferrerPolicy referrer_policy,
19 const WebKit::WebString& custom_user_agent,
19 bool is_main_frame, 20 bool is_main_frame,
20 int64 frame_id, 21 int64 frame_id,
21 bool parent_is_main_frame, 22 bool parent_is_main_frame,
22 int64 parent_frame_id, 23 int64 parent_frame_id,
23 bool allow_download, 24 bool allow_download,
24 content::PageTransition transition_type, 25 content::PageTransition transition_type,
25 int transferred_request_child_id, 26 int transferred_request_child_id,
26 int transferred_request_request_id); 27 int transferred_request_request_id);
27 virtual ~RequestExtraData(); 28 virtual ~RequestExtraData();
28 29
(...skipping 17 matching lines...) Expand all
46 int64 parent_frame_id_; 47 int64 parent_frame_id_;
47 bool allow_download_; 48 bool allow_download_;
48 content::PageTransition transition_type_; 49 content::PageTransition transition_type_;
49 int transferred_request_child_id_; 50 int transferred_request_child_id_;
50 int transferred_request_request_id_; 51 int transferred_request_request_id_;
51 52
52 DISALLOW_COPY_AND_ASSIGN(RequestExtraData); 53 DISALLOW_COPY_AND_ASSIGN(RequestExtraData);
53 }; 54 };
54 55
55 #endif // CONTENT_COMMON_REQUEST_EXTRA_DATA_H_ 56 #endif // CONTENT_COMMON_REQUEST_EXTRA_DATA_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/request_extra_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698