OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/urlmon_url_request.h" | 5 #include "chrome_frame/urlmon_url_request.h" |
6 | 6 |
7 #include <wininet.h> | 7 #include <wininet.h> |
8 #include <urlmon.h> | 8 #include <urlmon.h> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "base/string_number_conversions.h" | 13 #include "base/string_number_conversions.h" |
| 14 #include "base/utf_string_conversions.h" |
14 #include "chrome_frame/bind_context_info.h" | 15 #include "chrome_frame/bind_context_info.h" |
15 #include "chrome_frame/chrome_frame_activex_base.h" | 16 #include "chrome_frame/chrome_frame_activex_base.h" |
16 #include "chrome_frame/extra_system_apis.h" | 17 #include "chrome_frame/extra_system_apis.h" |
17 #include "chrome_frame/html_utils.h" | 18 #include "chrome_frame/html_utils.h" |
18 #include "chrome_frame/urlmon_url_request_private.h" | 19 #include "chrome_frame/urlmon_url_request_private.h" |
19 #include "chrome_frame/urlmon_upload_data_stream.h" | 20 #include "chrome_frame/urlmon_upload_data_stream.h" |
20 #include "chrome_frame/utils.h" | 21 #include "chrome_frame/utils.h" |
21 #include "net/http/http_util.h" | 22 #include "net/http/http_util.h" |
22 #include "net/http/http_response_headers.h" | 23 #include "net/http/http_response_headers.h" |
23 | 24 |
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 privacy_info_.privacy_records[UTF8ToWide(url)]; | 1159 privacy_info_.privacy_records[UTF8ToWide(url)]; |
1159 | 1160 |
1160 privacy_entry.flags |= flags; | 1161 privacy_entry.flags |= flags; |
1161 privacy_entry.policy_ref = UTF8ToWide(policy_ref); | 1162 privacy_entry.policy_ref = UTF8ToWide(policy_ref); |
1162 | 1163 |
1163 if (fire_privacy_event && IsWindow(notification_window_)) { | 1164 if (fire_privacy_event && IsWindow(notification_window_)) { |
1164 PostMessage(notification_window_, WM_FIRE_PRIVACY_CHANGE_NOTIFICATION, 1, | 1165 PostMessage(notification_window_, WM_FIRE_PRIVACY_CHANGE_NOTIFICATION, 1, |
1165 0); | 1166 0); |
1166 } | 1167 } |
1167 } | 1168 } |
OLD | NEW |