Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
|
robertshield
2011/06/28 20:49:35
2009 -> 2011. Also, mwahaha.
grt (UTC plus 2)
2011/06/28 20:57:38
Done.
| |
| 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/common/automation_messages.h" |
| 8 #include "chrome_frame/np_browser_functions.h" | |
| 9 | 8 |
| 10 PluginUrlRequest::PluginUrlRequest() | 9 PluginUrlRequest::PluginUrlRequest() |
| 11 : delegate_(NULL), | 10 : delegate_(NULL), |
| 12 remote_request_id_(-1), | 11 remote_request_id_(-1), |
| 13 post_data_len_(0), | 12 post_data_len_(0), |
| 14 enable_frame_busting_(false), | 13 enable_frame_busting_(false), |
| 15 resource_type_(ResourceType::MAIN_FRAME), | 14 resource_type_(ResourceType::MAIN_FRAME), |
| 16 load_flags_(0), | 15 load_flags_(0), |
| 17 is_chunked_upload_(false) { | 16 is_chunked_upload_(false) { |
| 18 } | 17 } |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 49 upload_stream->Initialize(upload_data); | 48 upload_stream->Initialize(upload_data); |
| 50 upload_data_.Attach(upload_stream); | 49 upload_data_.Attach(upload_stream); |
| 51 is_chunked_upload_ = upload_data->is_chunked(); | 50 is_chunked_upload_ = upload_data->is_chunked(); |
| 52 } | 51 } |
| 53 } | 52 } |
| 54 | 53 |
| 55 enable_frame_busting_ = enable_frame_busting; | 54 enable_frame_busting_ = enable_frame_busting; |
| 56 | 55 |
| 57 return true; | 56 return true; |
| 58 } | 57 } |
| OLD | NEW |