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/test/ie_event_sink.h" | 5 #include "chrome_frame/test/ie_event_sink.h" |
6 | 6 |
7 #include <shlguid.h> | 7 #include <shlguid.h> |
8 #include <shobjidl.h> | 8 #include <shobjidl.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
14 #include "base/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
15 #include "base/string_util.h" | |
16 #include "base/stringprintf.h" | |
17 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
| 16 #include "base/strings/string_util.h" |
| 17 #include "base/strings/stringprintf.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "base/test/test_timeouts.h" | 19 #include "base/test/test_timeouts.h" |
20 #include "base/time.h" | 20 #include "base/time.h" |
21 #include "base/win/scoped_bstr.h" | 21 #include "base/win/scoped_bstr.h" |
22 #include "base/win/scoped_handle.h" | 22 #include "base/win/scoped_handle.h" |
23 #include "base/win/scoped_variant.h" | 23 #include "base/win/scoped_variant.h" |
24 #include "chrome_frame/test/chrome_frame_test_utils.h" | 24 #include "chrome_frame/test/chrome_frame_test_utils.h" |
25 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
26 | 26 |
27 using base::win::ScopedBstr; | 27 using base::win::ScopedBstr; |
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 source.Receive(), NULL, NULL)); | 771 source.Receive(), NULL, NULL)); |
772 } | 772 } |
773 } | 773 } |
774 | 774 |
775 if (listener_) | 775 if (listener_) |
776 listener_->OnMessage(V_BSTR(&data), V_BSTR(&origin), V_BSTR(&source)); | 776 listener_->OnMessage(V_BSTR(&data), V_BSTR(&origin), V_BSTR(&source)); |
777 return S_OK; | 777 return S_OK; |
778 } | 778 } |
779 | 779 |
780 } // namespace chrome_frame_test | 780 } // namespace chrome_frame_test |
OLD | NEW |