OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome_frame/plugin_url_request.h" | 5 #include "chrome_frame/plugin_url_request.h" |
6 | 6 |
7 #include "chrome/common/automation_messages.h" | 7 #include "chrome/test/automation/automation_messages.h" |
8 #include "chrome_frame/np_browser_functions.h" | 8 #include "chrome_frame/np_browser_functions.h" |
9 | 9 |
10 PluginUrlRequest::PluginUrlRequest() | 10 PluginUrlRequest::PluginUrlRequest() |
11 : delegate_(NULL), | 11 : delegate_(NULL), |
12 remote_request_id_(-1), | 12 remote_request_id_(-1), |
13 post_data_len_(0), | 13 post_data_len_(0), |
14 enable_frame_busting_(false), | 14 enable_frame_busting_(false), |
15 resource_type_(ResourceType::MAIN_FRAME), | 15 resource_type_(ResourceType::MAIN_FRAME), |
16 load_flags_(0) { | 16 load_flags_(0) { |
17 } | 17 } |
(...skipping 29 matching lines...) Expand all Loading... |
47 upload_stream->AddRef(); | 47 upload_stream->AddRef(); |
48 upload_stream->Initialize(upload_data); | 48 upload_stream->Initialize(upload_data); |
49 upload_data_.Attach(upload_stream); | 49 upload_data_.Attach(upload_stream); |
50 } | 50 } |
51 } | 51 } |
52 | 52 |
53 enable_frame_busting_ = enable_frame_busting; | 53 enable_frame_busting_ = enable_frame_busting; |
54 | 54 |
55 return true; | 55 return true; |
56 } | 56 } |
OLD | NEW |