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 #ifndef CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_TEST_H_ | 5 #ifndef CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_TEST_H_ |
6 #define CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_TEST_H_ | 6 #define CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_TEST_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
10 #include <string> | 10 #include <string> |
11 | 11 |
| 12 #include "base/utf_string_conversions.h" |
12 #include "chrome_frame/test/chrome_frame_test_utils.h" | 13 #include "chrome_frame/test/chrome_frame_test_utils.h" |
13 #include "chrome_frame/test/ie_event_sink.h" | 14 #include "chrome_frame/test/ie_event_sink.h" |
14 #include "chrome_frame/test/test_server.h" | 15 #include "chrome_frame/test/test_server.h" |
15 #include "chrome_frame/test/test_with_web_server.h" | 16 #include "chrome_frame/test/test_with_web_server.h" |
16 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
18 | 19 |
19 namespace chrome_frame_test { | 20 namespace chrome_frame_test { |
20 | 21 |
21 // Convenience enum for specifying whether a load occurred in IE or CF. | 22 // Convenience enum for specifying whether a load occurred in IE or CF. |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 chrome_frame_test::TimedMsgLoop loop_; | 221 chrome_frame_test::TimedMsgLoop loop_; |
221 testing::StrictMock<MockIEEventSink> ie_mock_; | 222 testing::StrictMock<MockIEEventSink> ie_mock_; |
222 testing::StrictMock<MockWebServer> server_mock_; | 223 testing::StrictMock<MockWebServer> server_mock_; |
223 | 224 |
224 private: | 225 private: |
225 DISALLOW_COPY_AND_ASSIGN(MockIEEventSinkTest); | 226 DISALLOW_COPY_AND_ASSIGN(MockIEEventSinkTest); |
226 }; | 227 }; |
227 | 228 |
228 } // namespace chrome_frame_test | 229 } // namespace chrome_frame_test |
229 | 230 |
230 #endif // CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_TEST_H_ | 231 #endif // CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_TEST_H_ |
OLD | NEW |