OLD | NEW |
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 #include "chrome_frame/urlmon_url_request.h" | 5 #include "chrome_frame/urlmon_url_request.h" |
6 | 6 |
7 #include <urlmon.h> | 7 #include <urlmon.h> |
8 #include <wininet.h> | 8 #include <wininet.h> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
15 #include "base/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
16 #include "base/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
18 #include "base/threading/platform_thread.h" | 18 #include "base/threading/platform_thread.h" |
19 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
20 #include "chrome/common/automation_messages.h" | 20 #include "chrome/common/automation_messages.h" |
21 #include "chrome_frame/bind_context_info.h" | 21 #include "chrome_frame/bind_context_info.h" |
22 #include "chrome_frame/chrome_frame_activex_base.h" | 22 #include "chrome_frame/chrome_frame_activex_base.h" |
23 #include "chrome_frame/extra_system_apis.h" | 23 #include "chrome_frame/extra_system_apis.h" |
24 #include "chrome_frame/html_utils.h" | 24 #include "chrome_frame/html_utils.h" |
25 #include "chrome_frame/urlmon_upload_data_stream.h" | 25 #include "chrome_frame/urlmon_upload_data_stream.h" |
26 #include "chrome_frame/urlmon_url_request_private.h" | 26 #include "chrome_frame/urlmon_url_request_private.h" |
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1439 privacy_info_.privacy_records[UTF8ToWide(url)]; | 1439 privacy_info_.privacy_records[UTF8ToWide(url)]; |
1440 | 1440 |
1441 privacy_entry.flags |= flags; | 1441 privacy_entry.flags |= flags; |
1442 privacy_entry.policy_ref = UTF8ToWide(policy_ref); | 1442 privacy_entry.policy_ref = UTF8ToWide(policy_ref); |
1443 | 1443 |
1444 if (fire_privacy_event && IsWindow(notification_window_)) { | 1444 if (fire_privacy_event && IsWindow(notification_window_)) { |
1445 PostMessage(notification_window_, WM_FIRE_PRIVACY_CHANGE_NOTIFICATION, 1, | 1445 PostMessage(notification_window_, WM_FIRE_PRIVACY_CHANGE_NOTIFICATION, 1, |
1446 0); | 1446 0); |
1447 } | 1447 } |
1448 } | 1448 } |
OLD | NEW |