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 #ifndef CHROME_FRAME_TEST_CHROME_FRAME_AUTOMATION_MOCK_H_ | 5 #ifndef CHROME_FRAME_TEST_CHROME_FRAME_AUTOMATION_MOCK_H_ |
6 #define CHROME_FRAME_TEST_CHROME_FRAME_AUTOMATION_MOCK_H_ | 6 #define CHROME_FRAME_TEST_CHROME_FRAME_AUTOMATION_MOCK_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "base/strings/utf_string_conversions.h" |
12 #include "base/test/test_process_killer_win.h" | 13 #include "base/test/test_process_killer_win.h" |
13 #include "base/utf_string_conversions.h" | |
14 #include "chrome/common/chrome_switches.h" | 14 #include "chrome/common/chrome_switches.h" |
15 #include "chrome_frame/chrome_frame_automation.h" | 15 #include "chrome_frame/chrome_frame_automation.h" |
16 #include "chrome_frame/chrome_frame_plugin.h" | 16 #include "chrome_frame/chrome_frame_plugin.h" |
17 #include "chrome_frame/navigation_constraints.h" | 17 #include "chrome_frame/navigation_constraints.h" |
18 #include "chrome_frame/test/test_scrubber.h" | 18 #include "chrome_frame/test/test_scrubber.h" |
19 #include "chrome_frame/test/test_with_web_server.h" | 19 #include "chrome_frame/test/test_with_web_server.h" |
20 #include "chrome_frame/utils.h" | 20 #include "chrome_frame/utils.h" |
21 | 21 |
22 template <typename T> | 22 template <typename T> |
23 class AutomationMockDelegate | 23 class AutomationMockDelegate |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 QuitMessageLoop(); | 231 QuitMessageLoop(); |
232 } | 232 } |
233 virtual void OnLoad(const GURL& url) { | 233 virtual void OnLoad(const GURL& url) { |
234 Base::OnLoad(url); | 234 Base::OnLoad(url); |
235 } | 235 } |
236 private: | 236 private: |
237 bool request_start_result_; | 237 bool request_start_result_; |
238 }; | 238 }; |
239 | 239 |
240 #endif // CHROME_FRAME_TEST_CHROME_FRAME_AUTOMATION_MOCK_H_ | 240 #endif // CHROME_FRAME_TEST_CHROME_FRAME_AUTOMATION_MOCK_H_ |
OLD | NEW |